Home
last modified time | relevance | path

Searched refs:vec (Results 1 – 6 of 6) sorted by relevance

/CTR-SDK-0.14.4/include/nn/util/
Dutil_Color.h603 /* ctor */ /* implicit */ FloatColor(const nn::math::VEC4& vec) in FloatColor()
604 : r(vec.x), g(vec.y), b(vec.z), a(vec.w) in FloatColor()
663 SelfType& operator =(const nn::math::VEC4& vec)
665 this->Set( vec.x, vec.y, vec.z, vec.w );
/CTR-SDK-0.14.4/include/nn/math/
Dmath_Vector4.h150 f32 Dot(const VEC4& vec) const in Dot()
152 return VEC4Dot(this, &vec); in Dot()
184 f32 DistanceSquare(const VEC4& vec) in DistanceSquare()
186 return VEC4DistSq(this, &vec); in DistanceSquare()
Dmath_Vector2.h128 f32 Dot(const VEC2& vec) const in Dot()
130 return VEC2Dot(this, &vec); in Dot()
160 f32 DistanceSquare(const VEC2& vec) in DistanceSquare()
162 return VEC2DistSq(this, &vec); in DistanceSquare()
Dmath_Vector3.h141 f32 Dot(const VEC3& vec) const in Dot()
143 return VEC3Dot(this, &vec); in Dot()
175 f32 DistanceSquare(const VEC3& vec) const in DistanceSquare()
177 return VEC3SquareDist(this, &vec); in DistanceSquare()
/CTR-SDK-0.14.4/include/nn/net/compatible/nnet/
Dnnet_ring.h49 int NNET_RingGet(u8* buf, s32 size, u8* head, s32 used, NNETVec* vec, s32 len);
/CTR-SDK-0.14.4/sources/libraries/math/
Dmath_Geometry.cpp268 VEC3 vec; in DistSqPoint3ToRay3() local
269 VEC3Sub(&vec, P, &R->P); in DistSqPoint3ToRay3()
270 distSq = VEC3SquareLen(&vec); in DistSqPoint3ToRay3()
295 VEC3 vec; in DistSqPoint3ToSegment3() local
296 VEC3Sub(&vec, P, &S->P0); in DistSqPoint3ToSegment3()
297 distSq = VEC3SquareLen(&vec); in DistSqPoint3ToSegment3()
304 VEC3 vec; in DistSqPoint3ToSegment3() local
305 VEC3Sub(&vec, P, &S->P1); in DistSqPoint3ToSegment3()
306 distSq = VEC3SquareLen(&vec); in DistSqPoint3ToSegment3()