mirror of https://github.com/PrimeDecomp/prime.git
parent
60cc687cd1
commit
c8528fc2ee
|
@ -33,6 +33,7 @@ COMPLETE_OBJECTS = [
|
|||
"Kyoto/Graphics/CGX",
|
||||
"Kyoto/Particles/CWarp",
|
||||
"Kyoto/Math/CPlane",
|
||||
"Kyoto/Math/CUnitVector3f",
|
||||
"Kyoto/Math/CVector2f",
|
||||
"Kyoto/Math/CVector2i",
|
||||
"Kyoto/Math/CVector3d",
|
||||
|
|
|
@ -519,7 +519,7 @@ KYOTO_1 :=\
|
|||
$(BUILD_DIR)/asm/Kyoto/Math/CQuaternion.o\
|
||||
$(BUILD_DIR)/src/Kyoto/CRandom16.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/CVector2i.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