Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 23 of 23) sorted by relevance

/NW4C-1.2.23/include/nw/gfx/
Dgfx_ParticleTime.h43 friend ParticleTime operator -(const ParticleTime& rhs);
147 …bool operator ==(const ParticleTime& rhs) const { return this->m_ParticleTime == rhs.m_ParticleTim…
148 …bool operator !=(const ParticleTime& rhs) const { return this->m_ParticleTime == rhs.m_ParticleTim…
149 …bool operator >=(const ParticleTime& rhs) const { return this->m_ParticleTime >= rhs.m_ParticleTim…
150 …bool operator <=(const ParticleTime& rhs) const { return this->m_ParticleTime <= rhs.m_ParticleTim…
151 …bool operator >(const ParticleTime& rhs) const { return this->m_ParticleTime > rhs.m_ParticleTime;…
152 …bool operator <(const ParticleTime& rhs) const { return this->m_ParticleTime < rhs.m_ParticleTime;…
154 bool operator ==(s32 rhs) const { return this->m_ParticleTime == S32ToParticleTime(rhs); }
155 bool operator !=(s32 rhs) const { return this->m_ParticleTime == S32ToParticleTime(rhs); }
156 bool operator >=(s32 rhs) const { return this->m_ParticleTime >= S32ToParticleTime(rhs); }
[all …]
Dgfx_ActivateCommand.h51 static NW_INLINE u32 MultU32Color(u32 lhs, u32 rhs) in MultU32Color() argument
54 u8 r = ((lhs & MASK) * (rhs & MASK)) >> 8; in MultU32Color()
55 u8 g = (((lhs >> 8) & MASK) * ((rhs >> 8) & MASK)) >> 8; in MultU32Color()
56 u8 b = (((lhs >> 16) & MASK) * ((rhs >> 16) & MASK)) >> 8; in MultU32Color()
70 static NW_INLINE u32 MultAddU32Color(u32 lhs, u32 rhs, u32 add) in MultAddU32Color() argument
74 u8 r = ut::Clamp<u32>((((lhs & MASK) * (rhs & MASK)) >> 8) + (add & MASK), 0, 255); in MultAddU32Color()
75 …u8 g = ut::Clamp<u32>(((((lhs >> 8) & MASK) * ((rhs >> 8) & MASK)) >> 8) + ((add >> 8) & MASK), 0,… in MultAddU32Color()
76 …u8 b = ut::Clamp<u32>(((((lhs >> 16) & MASK) * ((rhs >> 16) & MASK)) >> 8) + ((add >> 16) & MASK),… in MultAddU32Color()
Dgfx_SimpleMaterialActivator.h96 EqualHash(const TRes lhs, const URes rhs) in EqualHash() argument
98 return (lhs.GetHash() == rhs.GetHash()); in EqualHash()
Dgfx_GfxObject.h193 GfxPtr& operator=(GfxPtr<TObject> rhs)
195 m_MovePtr.operator=(rhs.m_MovePtr);
Dgfx_ParticleUtil.h87 const ParticleSet* rhs);
Dgfx_RenderQueue.h796 const RenderElement& rhs) in operator()
798 return lhs.Key() < rhs.Key(); in operator()
/NW4C-1.2.23/include/nw/ut/
Dut_Float24.h109 Float24& operator +=(f32 rhs) { this->m_Float32 += rhs; return *this; }
110 Float24& operator -=(f32 rhs) { this->m_Float32 -= rhs; return *this; }
111 Float24& operator *=(f32 rhs) { this->m_Float32 *= rhs; return *this; }
112 Float24& operator /=(f32 rhs) { this->m_Float32 /= rhs; return *this; }
114 bool operator ==(f32 rhs) const { return (rhs == this->m_Float32); }
115 bool operator !=(f32 rhs) const { return !(*this == rhs); }
266 Float31& operator +=(f32 rhs) { this->m_Float32 += rhs; return *this; }
267 Float31& operator -=(f32 rhs) { this->m_Float32 -= rhs; return *this; }
268 Float31& operator *=(f32 rhs) { this->m_Float32 *= rhs; return *this; }
269 Float31& operator /=(f32 rhs) { this->m_Float32 /= rhs; return *this; }
[all …]
Dut_Color.h293 SelfType& operator +=(const SelfType& rhs)
295 *this = *this + rhs;
306 SelfType& operator -=(const SelfType& rhs)
308 *this = *this - rhs;
319 SelfType& operator *=(const SelfType& rhs)
321 *this = *this * rhs;
332 SelfType& operator /=(const SelfType& rhs)
334 *this = *this / rhs;
345 const SelfType operator +(u32 rhs) const
347 const SelfType right = SelfType(rhs);
[all …]
Dut_ResUtil.h146 bool operator==(const class_name& rhs) const { return ptr() == rhs.ptr(); } \
148 bool operator!=(const class_name& rhs) const { return ptr() != rhs.ptr(); } \
186 bool operator==(const class_name& rhs) const { return ptr() == rhs.ptr(); } \
188 bool operator!=(const class_name& rhs) const { return ptr() != rhs.ptr(); } \
Dut_MoveArray.h245 MoveArray& operator=(MoveArray rhs)
247 rhs.swap(*this);
1092 const nw::ut::MoveArray<TElement>& rhs
1095 if (lhs.size() != rhs.size())
1099 return std::equal(lhs.begin(), lhs.end(), rhs.begin());
1116 const nw::ut::MoveArray<TElement>& rhs
1119 if (lhs.size() != rhs.size())
1123 return !(lhs == rhs);
1140 const nw::ut::MoveArray<TElement>& rhs
1143 return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());
[all …]
Dut_Inlines.h598 bool operator()(ValueT lhs, ValueT rhs) const in operator()
600 ValueT diff = Abs(lhs - rhs); in operator()
603 diff <= (m_Tolerance * Abs(rhs)); in operator()
639 bool operator()(ValueT lhs, ValueT rhs) const in operator()
641 ValueT diff = Abs(lhs - rhs); in operator()
644 diff <= (m_Tolerance * Abs(rhs)); in operator()
661 FloatEquals(ValueT lhs, ValueT rhs) in FloatEquals() argument
663 return CloseAtTolerance<ValueT>(std::numeric_limits<ValueT>::epsilon())(lhs, rhs); in FloatEquals()
676 FloatEqualsWeak(ValueT lhs, ValueT rhs) in FloatEqualsWeak() argument
678 return CloseAtToleranceWeak<ValueT>(std::numeric_limits<ValueT>::epsilon())(lhs, rhs); in FloatEqualsWeak()
Dut_Iterator.h115 explicit reverse_iterator(const reverse_iterator<T>& rhs ) : m_Current( rhs.GetBase() ) {}
Dut_MovePtr.h333 MovePtr& operator=(MovePtr rhs)
335 rhs.Swap(*this);
Dut_SharedPtr.h519 WeakPtr& operator = (const SharedPtr<U, TLockObject>& rhs)
521 WeakPtr(rhs).SwapObjPtr(*this);
Dut_ResArray.h326 /* ctor */ ResArray( const ResArray<T, TTraits>& rhs ) in ResArray() argument
327 : m_pBegin( rhs.m_pBegin ), in ResArray()
328 m_pEnd( rhs.m_pEnd ) in ResArray()
Dut_ResTypes.h253 bool operator = (bool rhs) { value = rhs; return bool(*this); }
Dut_ResDictionary.h299 ResDicPatriciaData::ResDicNodeData* Get(const ResName rhs) const;
/NW4C-1.2.23/include/nw/anim/
Danim_AnimFrameController.h129 bool operator==(const AnimFrame& rhs) const
131 return m_Frame == rhs.m_Frame && m_LastFrame == rhs.m_LastFrame;
133 bool operator!=(const AnimFrame& rhs) const
135 return m_Frame != rhs.m_Frame || m_LastFrame != rhs.m_LastFrame;
/NW4C-1.2.23/sources/libraries/ut/
Dut_ResDictionary.cpp44 ResDicPatricia::Get(const ResName rhs) const in Get()
46 size_t len = rhs.GetLength(); in Get()
47 const char* s = rhs.GetName(); in Get()
74 if (rhs == ResName(((u8*)&r + x->ofsString - sizeof(u32)))) in Get()
/NW4C-1.2.23/include/nw/font/
Dfont_CharStrmReader.h49 CharStrmReader(const CharStrmReader& rhs) in CharStrmReader() argument
50 : mCharStrm(rhs.mCharStrm), in CharStrmReader()
51 mReadFunc(rhs.mReadFunc) in CharStrmReader()
/NW4C-1.2.23/sources/libraries/lyt/
Dlyt_Stopwatch.cpp27 inline const TimeSpan operator / (const TimeSpan& lhs, int rhs) in operator /() argument
29 if (rhs != 0) in operator /()
31 return TimeSpan::FromNanoSeconds(lhs.GetNanoSeconds() / rhs); in operator /()
/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_SortingMaterialIdGenerator.cpp70 const internal::MaterialKeyValue& rhs) in operator ()()
72 return lhs.key < rhs.key; in operator ()()
80 const internal::MaterialKeyValue& rhs) in operator ()()
82 return lhs.subKey < rhs.subKey; in operator ()()
Dgfx_ParticleUtil.cpp176 const ParticleSet* rhs) in operator ()() argument
178 if (rhs == NULL) in operator ()()
189 const ResParticleSet& rhsResource = rhs->GetResParticleSet(); in operator ()()