🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Advertisement

Latest center Activity

for (int i = 0; i < mesh.vertices.size(); i++)
{
....
	// a squared_length(v) calc would save computing sqrt( ) in this loop for each v
	float r = length(v);
  
	if (r > radius)
	{
	    radius = r;
	}
}

radius = sqrt(radius); // then u could sqrt it here after the loop

Vilem Otte said:
Cf is c…

4,413 views
Advertisement

Pivot point transformation is the object space transformation of 0,0,0 point of object space, meaning identity transformation of pivot point will result in 0,0,0 point of  object space, which is the world space position if in world space. You can center this pivot point to AABS, AABB or move i…

4,305 views
Advertisement
Advertisement