Original Post
hi,
I''m working on a camera and I can''t get this to work:
getting Camera.PositionVector (or any other one), doesn''t get the data from PositionVectorTemp (or any other).
Was wondering why.
Thanks,
Scott
Email
Website
"If you try and don''t succeed, destroy all evidence that you tried."
void Init_Camera(CCamera Camera)
{
CVector PositionVectorTemp = { 0.0f, 0.0f, 0.0f };
CVector UpVectorTemp = { 0.0f, 1.0f, 0.0f };
CVector ViewVectorTemp = { 0.0f, 0.0f, 1.0f };
Camera.PositionVector = PositionVectorTemp;
Camera.UpVector = UpVectorTemp;
Camera.ViewVector = ViewVectorTemp;
}
|
"If you try and don''t succeed, destroy all evidence that you tried."