QmlMaterial 0.1.0
Loading...
Searching...
No Matches
quad.hpp
1#pragma once
2
3namespace qml_material::sg::mesh
4{
5
7template<class V>
8inline void quad(V* out, const V& lt, const V& rt, const V& lb, const V& rb) {
9 out[0] = lt;
10 out[1] = rt;
11 out[2] = lb;
12 out[3] = lb;
13 out[4] = rb;
14 out[5] = rt;
15}
16
17} // namespace qml_material::sg::mesh