Home
last modified time | relevance | path

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

/CTR-SDK-2.4.0/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-2.4.0/include/nn/math/
Dmath_Vector4.h158 f32 Dot(const VEC4& vec) const in Dot()
160 return VEC4Dot(this, &vec); in Dot()
192 f32 DistanceSquare(const VEC4& vec) in DistanceSquare()
194 return VEC4DistSq(this, &vec); in DistanceSquare()
Dmath_Vector2.h136 f32 Dot(const VEC2& vec) const in Dot()
138 return VEC2Dot(this, &vec); in Dot()
168 f32 DistanceSquare(const VEC2& vec) in DistanceSquare()
170 return VEC2DistSq(this, &vec); in DistanceSquare()
Dmath_Vector3.h149 f32 Dot(const VEC3& vec) const in Dot()
151 return VEC3Dot(this, &vec); in Dot()
183 f32 DistanceSquare(const VEC3& vec) const in DistanceSquare()
185 return VEC3SquareDist(this, &vec); in DistanceSquare()
/CTR-SDK-2.4.0/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-2.4.0/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()