Closed p3ddd closed 1 year ago
The multiplication sign in the Normalize() function is written as a plus sign.
Now it is (p.X*p.X + p.Y + p.Y + p.Z*p.Z) and it should be (p.X*p.X + p.Y*p.Y + p.Z*p.Z) .
(p.X*p.X + p.Y + p.Y + p.Z*p.Z)
(p.X*p.X + p.Y*p.Y + p.Z*p.Z)
The multiplication sign in the Normalize() function is written as a plus sign.
Now it is
(p.X*p.X + p.Y + p.Y + p.Z*p.Z)
and it should be(p.X*p.X + p.Y*p.Y + p.Z*p.Z)
.