#ifndef O3D_DERIV_VERTEX_HPP #define O3D_DERIV_VERTEX_HPP #include "math/vector.hpp" namespace engine::o3d { struct DerivedVertex { engine::math::Vector4 vertex; float b0, b1; constexpr DerivedVertex div_by_w() const & { return {vertex.div_by_w(), b0, b1}; } }; } #endif // O3D_DERIV_VERTEX_HPP