[Plib-users] transforming a sgSphere each frame ?
Brought to you by:
sjbaker
From: Oliver B. <sh...@ih...> - 2000-05-09 09:03:27
|
for a frustum cull I need to transform a sgSphere each frame by a matrix but If I use the orthoXform then it gets changed each frame ? how can I avoid this ? the sphere::getCentre how do I use that also It returns a pointer to a sgfloat but I cant make it equal to a sgVec3 and If I make it equal to a float * then use it like variable[0] variable[1] variable[2] for the x y and z it contains rubish ... thanks, Oliver Batchelor |