MCPcopy Create free account
hub / github.com/DavidColson/Polybox / VertexData

Class VertexData

source/graphics.h:36–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34};
35
36struct VertexData {
37 Vec3f pos;
38 Vec4f col;
39 Vec2f tex;
40 Vec3f norm;
41
42 VertexData() {}
43 VertexData(Vec3f pos, Vec4f col, Vec2f tex, Vec3f norm)
44 : pos(pos), col(col), tex(tex), norm(norm) {}
45
46 bool operator==(const VertexData& other) {
47 return pos == other.pos;
48 }
49};
50
51struct Image;
52struct SDL_Window;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected