Guest User

Untitled

a guest
Mar 21st, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. enum class VertexField : uint16_t
  2. {
  3. Position = 0,
  4. Color,
  5. Normal,
  6. Count,
  7. Invalid
  8. };
  9.  
  10. const uint16_t sFieldSizes[] =
  11. {
  12. 12, //Position, 4bytes each, float vec3
  13. 4, //Color, 1bytes each, unorm vec4
  14. 12 //Normal, 4bytes each, float vec3
  15. };
  16.  
  17. const TYPE sFieldTypes[] =
  18. {
  19. glm::vec3,
  20. glm::vec4
  21. glm::vec3
  22. };
Add Comment
Please, Sign In to add comment