aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/deriv_vertex.h
blob: 894569615d3f9dc2b58f9ce272c8a72e30a0fed6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef O3D_DERIV_VERTEX_H
#define O3D_DERIV_VERTEX_H

#include "math/vector.h"

namespace engine::o3d {

class DerivedVertex4 {
    public:
        engine::math::Vector4 point;
        float b0, b1;

        DerivedVertex4(engine::math::Vector4 point, float b0, float b1);
        DerivedVertex4 div_by_w() const;
};

}

#endif // O3D_DERIV_VERTEX_H