public UniformLightCameraBuilder()
        {
            bodyB = new ConvexBody();
            bodyLVS = new ConvexBody();
            bodyBPoints = new List<Vector3>();
            bodyLVSPoints = new List<Vector3>();
            corners = new Vector3[BoundingBox.CornerCount];

            LightFarClipDistance = 0.0f;
            BodyBExtrudeDistance = 0.0f;
        }
Example #2
0
        public FocusedLightCamera()
        {
            bodyB = new ConvexBody();
            bodyLVS = new ConvexBody();
            bodyBPoints = new List<Vector3>();
            bodyLVSPoints = new List<Vector3>();
            corners = new Vector3[BoundingBox.CornerCount];

            EyeNearDistance = 1.0f;
            EyeFarDistance = 1000.0f;
            LightFarDistance = 0.0f;
            BodyBExtrudeDistance = 0.0f;
        }