Example #1
0
 public Sphere()
 {
     _Position = new Vector3(0, 0, 0);
     _Scale = new Vector3(1, 1, 1);
     _Rotation = new Matrix3();
     _Rotation.MakeIdentity();
     _Material = new Material();
     _IgnoreLighting = false;
 }
Example #2
0
 public Sphere()
 {
     _Position = new Vector3(0, 0, 0);
     _Scale    = new Vector3(1, 1, 1);
     _Rotation = new Matrix3();
     _Rotation.MakeIdentity();
     _Material       = new Material();
     _IgnoreLighting = false;
 }
Example #3
0
        public void InitialiseTestScene()
        {
            Matrix3 identity = new Matrix3();

            identity.MakeIdentity();

            _Scene.AddRenderObject(_BackgroundScript);
            _Scene.AddRenderObject(_SceneScript);
            _Scene.AddRenderObject(_LightingScript);
        }
Example #4
0
        public void InitialiseTestScene()
        {
            Matrix3 identity = new Matrix3();
            identity.MakeIdentity();

            _Scene.AddRenderObject(_BackgroundScript);
            _Scene.AddRenderObject(_SceneScript);
            _Scene.AddRenderObject(_LightingScript);
        }