@@ -173,14 +173,14 @@ int main()
173173 Vector3<float > p110{0 .5f , 0 .5f , -0 .5f };
174174 Vector3<float > p111{0 .5f , 0 .5f , 0 .5f };
175175
176- VertexType v0{p000, Vector3<float >{-1 , -1 , -1 }, Vector3 <float >{0 , 0 , 0 }};
177- VertexType v1{p001, Vector3<float >{-1 , -1 , 1 }, Vector3 <float >{0 , 1 , 0 }};
178- VertexType v2{p010, Vector3<float >{-1 , 1 , -1 }, Vector3 <float >{1 , 0 , 0 }};
179- VertexType v3{p011, Vector3<float >{-1 , 1 , 1 }, Vector3 <float >{1 , 1 , 0 }};
180- VertexType v4{p100, Vector3<float >{1 , -1 , -1 }, Vector3 <float >{0 , 0 , 1 }};
181- VertexType v5{p101, Vector3<float >{1 , -1 , 1 }, Vector3 <float >{0 , 1 , 1 }};
182- VertexType v6{p110, Vector3<float >{1 , 1 , -1 }, Vector3 <float >{1 , 0 , 1 }};
183- VertexType v7{p111, Vector3<float >{1 , 1 , 1 }, Vector3 <float >{1 , 1 , 1 }};
176+ VertexType v0{p000, Vector3<float >{-1 , -1 , -1 }, omath::Vector2 <float >{0 , 0 }};
177+ VertexType v1{p001, Vector3<float >{-1 , -1 , 1 }, omath::Vector2 <float >{0 , 1 }};
178+ VertexType v2{p010, Vector3<float >{-1 , 1 , -1 }, omath::Vector2 <float >{1 , 0 }};
179+ VertexType v3{p011, Vector3<float >{-1 , 1 , 1 }, omath::Vector2 <float >{1 , 1 }};
180+ VertexType v4{p100, Vector3<float >{1 , -1 , -1 }, omath::Vector2 <float >{0 , 0 }};
181+ VertexType v5{p101, Vector3<float >{1 , -1 , 1 }, omath::Vector2 <float >{0 , 1 }};
182+ VertexType v6{p110, Vector3<float >{1 , 1 , -1 }, omath::Vector2 <float >{1 , 0 }};
183+ VertexType v7{p111, Vector3<float >{1 , 1 , 1 }, omath::Vector2 <float >{1 , 1 }};
184184
185185 vbo.push_back (v0); // 0
186186 vbo.push_back (v1); // 1
0 commit comments