aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/vertex_data.h
blob: ec5fa258bf7b54501b764cee213be4db49a5f6f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef O3D_VERTEX_DATA_H
#define O3D_VERTEX_DATA_H

namespace engine::o3d {

class VertexData {
    public:
        static VertexData lerp(const VertexData& vd1, const VertexData& vd2, float s);
        static VertexData bilerp(const VertexData& vd1, const VertexData& vd2, const VertexData& vd3, float s, float t);

        VertexData();
};

}

#endif // O3D_VERTEX_DATA_H