/**
 * Retrograde Engine
 *
 * Authors:
 *  Mike Bierlee, m.bierlee@lostmoment.com
 * Copyright: 2014-2021 Mike Bierlee
 * License:
 *  This software is licensed under the terms of the MIT license.
 *  The full terms of the license can be found in the LICENSE.txt file.
 */

module retrograde.geometry;

struct Mesh {
    immutable Vertex[] vertices;
    immutable Face[] faces;
}

struct Face {
    uint vertexIndex1;
    uint vertexIndex2;
    uint vertexIndex3;
}

struct Vertex {
    float x;
    float y;
    float z;
    float w;

    float r;
    float g;
    float b;
    float a;

    float u;
    float v;
}