Exemple #1
0
 public Camera3D()
 {
     _proj = new Projection();
     _camMatrix = Matrix.Identity;
 }
Exemple #2
0
        public void CopyFrom(Projection projection)
        {
            if (projection == null)
                throw new ArgumentNullException();

            _aspect = projection._aspect;
            _changeIndex = projection._changeIndex;
            _computedAspect = projection._computedAspect;
            _far = projection._far;
            _fov = projection._fov;
            _leftHandedProjection = projection._leftHandedProjection;
            _matrix = projection._matrix;
            _near = projection._near;
            _orthographic = projection._orthographic;
            _region = projection._region;

            _set = false;
            _changeIndex = System.Threading.Interlocked.Increment(ref _changeBaseIndex);
        }
Exemple #3
0
 public Camera3D(Projection projection)
 {
     _proj = projection;
     _camMatrix = Matrix.Identity;
 }
Exemple #4
0
 public Camera3D(Projection projection, Matrix cameraMatrix)
 {
     _proj = projection;
     _camMatrix = cameraMatrix;
 }
Exemple #5
0
 public Camera3D()
 {
     _proj      = new Projection();
     _camMatrix = Matrix.Identity;
 }
Exemple #6
0
 public Camera3D(Projection projection)
 {
     _proj      = projection;
     _camMatrix = Matrix.Identity;
 }
Exemple #7
0
 public Camera3D(Projection projection, Matrix cameraMatrix)
 {
     _proj      = projection;
     _camMatrix = cameraMatrix;
 }