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,958 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,944 views
Advertisement
Advertisement
Advertisement