예제 #1
0
        // BASIC CUBE
        public void AddCube(float width, float length, float height, Vector3 mid_position, Vector3 rotation, string textureFile, Rectangle?sourceRect)
        {
            Object3D obj = new Object3D();

            obj.AddCube(mid_position, new Vector3(width, height, length), rotation, textureFile, sourceRect);
            Objects.Add(obj);
        }