public ArcBall(Cameras.LookAtCamera camera) { this.camera = camera; transformMatrix = new Matrix(4, 4); scaleMatrix = new Matrix(4, 4); // Set the identity matrices. transformMatrix.SetIdentity(); scaleMatrix.SetIdentity(); mouseIsDown = false; }
public ArcBallEffect(Cameras.LookAtCamera camera) { arcBall = new ArcBall(camera); }