// Update is called once per frame void Update() { clipPlane.UpdateNearClipPlane(); if (showDebug) { clipPlane.ShowDebugLines(); } }
public static GOClipPlane MainCameraFarClipPlane() { Camera c = Camera.main; GOClipPlane clipPlane = new GOClipPlane(c); clipPlane.UpdateNearClipPlane(); return(clipPlane); }