// Defaults for both 2d and 3d projections CCCamera(CCPoint3 targetInWorldspaceIn) { targetInWorldspace = targetInWorldspaceIn; nearAndFarOrthographicZClipping = defaultNearAndFarOrthoClipping; nearAndFarPerspectiveClipping = defaultNearAndFarPerspClipping; fieldOfView = defaultFieldOfView; aspectRatio = defaultAspectRatio; upDirection = new CCPoint3(Vector3.Up.X, Vector3.Up.Y, Vector3.Up.Z); }
public bool Equals(CCNearAndFarClipping clipping) { return(Near == clipping.Near && Far == clipping.Far); }
public static bool Equal(ref CCNearAndFarClipping clipping1, ref CCNearAndFarClipping clipping2) { return((clipping1.Near == clipping2.Near) && (clipping1.Far == clipping2.Far)); }