예제 #1
0
	void Pitch(float ang) {
		AngX += ang;
		
		CPoint3D rotDir = -(At - P0).Dir();
		At = P0 + (At - P0).RotateDeg(ang, Up);
		Up = Up.RotateDeg(ang, rotDir);
	}
예제 #2
0
	void Roll(float ang) {
		AngZ -= ang;

		Up = Up.RotateDeg(ang, Right());
	}