used Vector3f instead Vector4f because noramlized(Vector3f) != normalized(Vector4f)

This commit is contained in:
2022-01-18 12:10:02 +08:00
parent 3594a88232
commit 1d81121d30
8 changed files with 32 additions and 34 deletions

View File

@@ -14,7 +14,7 @@ namespace hgl
{
MVPMatrix matrix;
Vector4f WorldCenter;
Vector3f WorldCenter;
float distance_to_camera_square;
// float distance_to_camera;