Jump to content

  • Log In with Google      Sign In   
  • Create Account


Mateus Junior

Member Since 17 Mar 2013
Offline Last Active Mar 29 2013 12:39 PM
-----

Posts I've Made

In Topic: How to centralize a model in a view?

18 March 2013 - 10:09 AM

The center of the object would then be (largest-lowest) / 2 for each (x, y, z)

That's not the center, but the half-size. The center is

(largest +  lowest) / 2

 

ops! My bad.
 
But in the code is correct.

PARTNERS