Home
last modified time | relevance | path

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

/NW4C-2.0.3/include/nw/gfx/
Dgfx_ActivateCommand.h53 static NW_INLINE u32 MultU32Color(u32 lhs, u32 rhs) in MultU32Color() argument
57 u32 r = ((((lhs << 1) & MASKx2) + 1) * (((rhs << 1) & MASKx2) + 1)) >> 10; in MultU32Color()
58 u32 g = ((((lhs >> 7) & MASKx2) + 1) * (((rhs >> 7) & MASKx2) + 1)) >> 10; in MultU32Color()
59 u32 b = ((((lhs >> 15) & MASKx2) + 1) * (((rhs >> 15) & MASKx2) + 1)) >> 10; in MultU32Color()
73 static NW_INLINE u32 MultAddU32Color(u32 lhs, u32 rhs, u32 add) in MultAddU32Color() argument
78 … u32 r = (((((lhs << 1) & MASKx2) + 1) * (((rhs << 1) & MASKx2) + 1)) >> 10) + (add & MASK); in MultAddU32Color()
79 …u32 g = (((((lhs >> 7) & MASKx2) + 1) * (((rhs >> 7) & MASKx2) + 1)) >> 10) + ((add >> 8) & MASK… in MultAddU32Color()
80 …u32 b = (((((lhs >> 15) & MASKx2) + 1) * (((rhs >> 15) & MASKx2) + 1)) >> 10) + ((add >> 16) & MAS… in MultAddU32Color()
Dgfx_SimpleMaterialActivator.h100 EqualHash(const TRes lhs, const URes rhs) in EqualHash() argument
102 return (lhs.GetHash() == rhs.GetHash()); in EqualHash()
Dgfx_SceneEnvironmentSetting.h315 bool operator()(TObject* lhs) const in operator()
317 if (lhs->GetName() != NULL && in operator()
319 std::strcmp(lhs->GetName(), m_Object.GetPath()) == 0) in operator()
Dgfx_ParticleUtil.h88 const ParticleSet* lhs,
Dgfx_RenderQueue.h779 const RenderElement& lhs, in operator()
782 return lhs.Key() < rhs.Key(); in operator()
/NW4C-2.0.3/include/nw/ut/
Dut_MoveArray.h1112 const nw::ut::MoveArray<TElement>& lhs,
1116 if (lhs.size() != rhs.size())
1120 return std::equal(lhs.begin(), lhs.end(), rhs.begin());
1136 const nw::ut::MoveArray<TElement>& lhs,
1140 if (lhs.size() != rhs.size())
1144 return !(lhs == rhs);
1160 const nw::ut::MoveArray<TElement>& lhs,
1164 return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());
1180 const nw::ut::MoveArray<TElement>& lhs,
1184 return rhs < lhs;
[all …]
Dut_Inlines.h600 bool operator()(ValueT lhs, ValueT rhs) const in operator()
602 ValueT diff = Abs(lhs - rhs); in operator()
604 diff <= (m_Tolerance * Abs(lhs)) && in operator()
641 bool operator()(ValueT lhs, ValueT rhs) const in operator()
643 ValueT diff = Abs(lhs - rhs); in operator()
645 diff <= (m_Tolerance * Abs(lhs)) || in operator()
663 FloatEquals(ValueT lhs, ValueT rhs) in FloatEquals() argument
665 return CloseAtTolerance<ValueT>(std::numeric_limits<ValueT>::epsilon())(lhs, rhs); in FloatEquals()
678 FloatEqualsWeak(ValueT lhs, ValueT rhs) in FloatEqualsWeak() argument
680 return CloseAtToleranceWeak<ValueT>(std::numeric_limits<ValueT>::epsilon())(lhs, rhs); in FloatEqualsWeak()
/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_SortingMaterialIdGenerator.cpp71 bool operator() (const internal::MaterialKeyValue& lhs, in operator ()()
74 return lhs.key < rhs.key; in operator ()()
81 bool operator() (const internal::MaterialKeyValue& lhs, in operator ()()
84 return lhs.subKey < rhs.subKey; in operator ()()
Dgfx_ParticleUtil.cpp177 const ParticleSet* lhs, in operator ()() argument
185 if (lhs == NULL) in operator ()()
190 const ResParticleSet& lhsResource = lhs->GetResParticleSet(); in operator ()()
/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_Stopwatch.cpp29 inline const TimeSpan operator / (const TimeSpan& lhs, int rhs) in operator /() argument
33 return TimeSpan::FromNanoSeconds(lhs.GetNanoSeconds() / rhs); in operator /()