mirror of https://github.com/PrimeDecomp/prime.git
Match and link CUnitVector3f
This commit is contained in:
parent
b85528fbab
commit
831bc1a9ed
|
@ -33,6 +33,7 @@ COMPLETE_OBJECTS = [
|
||||||
"Kyoto/Graphics/CGX",
|
"Kyoto/Graphics/CGX",
|
||||||
"Kyoto/Particles/CWarp",
|
"Kyoto/Particles/CWarp",
|
||||||
"Kyoto/Math/CPlane",
|
"Kyoto/Math/CPlane",
|
||||||
|
"Kyoto/Math/CUnitVector3f",
|
||||||
"Kyoto/Math/CVector2f",
|
"Kyoto/Math/CVector2f",
|
||||||
"Kyoto/Math/CVector2i",
|
"Kyoto/Math/CVector2i",
|
||||||
"Kyoto/Math/CVector3d",
|
"Kyoto/Math/CVector3d",
|
||||||
|
|
|
@ -519,7 +519,7 @@ KYOTO_1 :=\
|
||||||
$(BUILD_DIR)/asm/Kyoto/Math/CQuaternion.o\
|
$(BUILD_DIR)/asm/Kyoto/Math/CQuaternion.o\
|
||||||
$(BUILD_DIR)/src/Kyoto/CRandom16.o\
|
$(BUILD_DIR)/src/Kyoto/CRandom16.o\
|
||||||
$(BUILD_DIR)/asm/Kyoto/Math/CTransform4f.o\
|
$(BUILD_DIR)/asm/Kyoto/Math/CTransform4f.o\
|
||||||
$(BUILD_DIR)/asm/Kyoto/Math/CUnitVector3f.o\
|
$(BUILD_DIR)/src/Kyoto/Math/CUnitVector3f.o\
|
||||||
$(BUILD_DIR)/src/Kyoto/Math/CVector2f.o\
|
$(BUILD_DIR)/src/Kyoto/Math/CVector2f.o\
|
||||||
$(BUILD_DIR)/src/Kyoto/Math/CVector2i.o\
|
$(BUILD_DIR)/src/Kyoto/Math/CVector2i.o\
|
||||||
$(BUILD_DIR)/src/Kyoto/Math/CVector3d.o\
|
$(BUILD_DIR)/src/Kyoto/Math/CVector3d.o\
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#include "Kyoto/Math/CUnitVector3f.hpp"
|
||||||
|
|
||||||
|
CUnitVector3f::CUnitVector3f(const CVector3f& vec)
|
||||||
|
: CVector3f(vec.IsNonZero() ? vec.AsNormalized() : CVector3f::Zero()) {
|
||||||
|
}
|
Loading…
Reference in New Issue