예제 #1
0
        // BASIC OBJECTS THAT YOU CAN ADD ------------------------------
        // BASIC FLOOR
        public void AddFloor(float width, float length, Vector3 mid_position, Vector3 rotation, string textureFile, Rectangle?sourceRect)
        {
            Object3D obj = new Object3D();

            obj.AddQuad(mid_position, width, length, rotation, textureFile, sourceRect);
            Objects.Add(obj);
        }