public Camera3D() { _proj = new Projection(); _camMatrix = Matrix.Identity; }
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); }
public Camera3D(Projection projection) { _proj = projection; _camMatrix = Matrix.Identity; }
public Camera3D(Projection projection, Matrix cameraMatrix) { _proj = projection; _camMatrix = cameraMatrix; }