Home
last modified time | relevance | path

Searched refs:lhs (Results 1 – 10 of 10) sorted by relevance

/NW4C-1.2.23/include/nw/gfx/
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_SceneEnvironmentSetting.h279 bool operator()(TObject* lhs) const in operator()
281 if (lhs->GetName() != NULL && in operator()
283 std::strcmp(lhs->GetName(), m_Object.GetPath()) == 0) in operator()
Dgfx_ParticleUtil.h86 const ParticleSet* lhs,
Dgfx_RenderQueue.h795 const RenderElement& lhs, in operator()
798 return lhs.Key() < rhs.Key(); in operator()
/NW4C-1.2.23/include/nw/ut/
Dut_MoveArray.h1091 const nw::ut::MoveArray<TElement>& lhs,
1095 if (lhs.size() != rhs.size())
1099 return std::equal(lhs.begin(), lhs.end(), rhs.begin());
1115 const nw::ut::MoveArray<TElement>& lhs,
1119 if (lhs.size() != rhs.size())
1123 return !(lhs == rhs);
1139 const nw::ut::MoveArray<TElement>& lhs,
1143 return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());
1159 const nw::ut::MoveArray<TElement>& lhs,
1163 return rhs < lhs;
[all …]
Dut_Inlines.h598 bool operator()(ValueT lhs, ValueT rhs) const in operator()
600 ValueT diff = Abs(lhs - rhs); in operator()
602 diff <= (m_Tolerance * Abs(lhs)) && in operator()
639 bool operator()(ValueT lhs, ValueT rhs) const in operator()
641 ValueT diff = Abs(lhs - rhs); in operator()
643 diff <= (m_Tolerance * Abs(lhs)) || 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()
/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_SortingMaterialIdGenerator.cpp69 bool operator() (const internal::MaterialKeyValue& lhs, in operator ()()
72 return lhs.key < rhs.key; in operator ()()
79 bool operator() (const internal::MaterialKeyValue& lhs, in operator ()()
82 return lhs.subKey < rhs.subKey; in operator ()()
Dgfx_ParticleUtil.cpp175 const ParticleSet* lhs, in operator ()() argument
183 if (lhs == NULL) in operator ()()
188 const ResParticleSet& lhsResource = lhs->GetResParticleSet(); in operator ()()
/NW4C-1.2.23/sources/libraries/lyt/
Dlyt_Stopwatch.cpp27 inline const TimeSpan operator / (const TimeSpan& lhs, int rhs) in operator /() argument
31 return TimeSpan::FromNanoSeconds(lhs.GetNanoSeconds() / rhs); in operator /()