[ODE] Very simple question regarding the demo programs
Deak Szabolcs
ancient at ludens.elte.hu
Wed May 17 01:48:48 MST 2006
Uhm, I don't know the code internals but that would make sense to me if
the boxes were drawn dynamically given the center coodinates of the box
and the half of the width and height used as offset to generate the box
corner points..
Vast wrote:
> Hey, I got a question for you guys.
> In the demo app (say.. box stack) whenever objects are rendered, their
> side length width and height are multiplied by 0.5 (divided by 2), and
> here's the question - why?
>
> I am testing with boxes right now, of course if I don't divide by 2
> everything looks wrong (too big obviously), but I mean.. why do I have
> to divide stuff by 2??
>
> Thanks.
> - Tima
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>ODE mailing list
>ODE at q12.org
>http://q12.org/mailman/listinfo/ode
>
>
More information about the ODE
mailing list