Пример #1
0
	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;
	}
Пример #2
0
	void SetDirection(float x, float y, float z)
	{
		At.Set(x, y, z);
	}
Пример #3
0
	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;
	}
Пример #4
0
	void SetPosition(float x, float y, float z)
	{
		P0.Set(x, y, z);
	}