void Set(float x0, float y0, float z0, float px0, float py0, float pz0, float upx, float upy, float upz) { P0.Set(x0, y0, z0); At.Set(px0, py0, pz0); Up.Set(upx, upy, upz); AngR = AngY = AngP = 0.0f; }
void SetDirection(float x, float y, float z) { At.Set(x, y, z); }
CCamera() { P0.Set(0.0f, 0.0f, 0.0f); At.Set(0.0f, 0.0f, 1.0f); Up.Set(0.0f, 1.0f, 0.0f); AngR = AngY = AngP = 0.0f; }
void SetPosition(float x, float y, float z) { P0.Set(x, y, z); }