public LHGCamera(LHGCameraMode controlMode, Vector3 target, Vector3 position, float distance, float angle) : this(controlMode) { OrbitUp(angle); Target = target; Position = position; Distance = distance; }
public LHGCamera(LHGCameraMode controlMode) { //orientation quaternion assumes a Pi rotation so you're facing the "front" //of the model (looking down the +Z axis) orientation = Quaternion.CreateFromAxisAngle(Vector3.Up, MathHelper.Pi); mode = controlMode; yaw = MathHelper.Pi; pitch = 0; scrollSpeed = 20.0f; // 20.0f; // 20.0f; // 10.0f slow 20.0f normal 40.0f fast }