used Vector3f instead Vector4f because noramlized(Vector3f) != normalized(Vector4f)
This commit is contained in:
@@ -14,7 +14,7 @@ namespace hgl
|
||||
{
|
||||
MVPMatrix matrix;
|
||||
|
||||
Vector4f WorldCenter;
|
||||
Vector3f WorldCenter;
|
||||
|
||||
float distance_to_camera_square;
|
||||
// float distance_to_camera;
|
||||
|
Reference in New Issue
Block a user