Home
last modified time | relevance | path

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

/NW4C-1.3.3/include/nw/gfx/
Dgfx_ActivateCommand.h51 static NW_INLINE u32 MultU32Color(u32 lhs, u32 rhs) in MultU32Color() argument
55 u32 r = ((((lhs << 1) & MASKx2) + 1) * (((rhs << 1) & MASKx2) + 1)) >> 10; in MultU32Color()
56 u32 g = ((((lhs >> 7) & MASKx2) + 1) * (((rhs >> 7) & MASKx2) + 1)) >> 10; in MultU32Color()
57 u32 b = ((((lhs >> 15) & MASKx2) + 1) * (((rhs >> 15) & MASKx2) + 1)) >> 10; in MultU32Color()
71 static NW_INLINE u32 MultAddU32Color(u32 lhs, u32 rhs, u32 add) in MultAddU32Color() argument
76 … u32 r = (((((lhs << 1) & MASKx2) + 1) * (((rhs << 1) & MASKx2) + 1)) >> 10) + (add & MASK); in MultAddU32Color()
77 …u32 g = (((((lhs >> 7) & MASKx2) + 1) * (((rhs >> 7) & MASKx2) + 1)) >> 10) + ((add >> 8) & MASK… in MultAddU32Color()
78 …u32 b = (((((lhs >> 15) & MASKx2) + 1) * (((rhs >> 15) & MASKx2) + 1)) >> 10) + ((add >> 16) & MAS… in MultAddU32Color()
Dgfx_SimpleMaterialActivator.h98 EqualHash(const TRes lhs, const URes rhs) in EqualHash() argument
100 return (lhs.GetHash() == rhs.GetHash()); in EqualHash()
Dgfx_SceneEnvironmentSetting.h313 bool operator()(TObject* lhs) const in operator()
315 if (lhs->GetName() != NULL && in operator()
317 std::strcmp(lhs->GetName(), m_Object.GetPath()) == 0) in operator()
Dgfx_ParticleUtil.h86 const ParticleSet* lhs,
Dgfx_RenderQueue.h777 const RenderElement& lhs, in operator()
780 return lhs.Key() < rhs.Key(); in operator()
/NW4C-1.3.3/include/nw/ut/
Dut_MoveArray.h1110 const nw::ut::MoveArray<TElement>& lhs,
1114 if (lhs.size() != rhs.size())
1118 return std::equal(lhs.begin(), lhs.end(), rhs.begin());
1134 const nw::ut::MoveArray<TElement>& lhs,
1138 if (lhs.size() != rhs.size())
1142 return !(lhs == rhs);
1158 const nw::ut::MoveArray<TElement>& lhs,
1162 return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());
1178 const nw::ut::MoveArray<TElement>& lhs,
1182 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.3.3/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.3.3/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 /()