Created
January 28, 2012 19:18
-
-
Save roxlu/1695480 to your computer and use it in GitHub Desktop.
Vertex Types, Position, Texture, Normal, Binormal, Tangent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| struct VertexP : public Vertex { }; | |
| struct VertexPT : public Vertex { }; | |
| struct VertexPN : public Vertex { }; | |
| struct VertexPNC : public Vertex { }; | |
| struct VertexPTN : public Vertex { }; | |
| struct VertexPTNC : public Vertex { }; | |
| struct VertexPTNT : public Vertex { // with tangent. }; | |
| struct VertexPTNTB : public Vertex { // can be used for normal mapping | |
| }; | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment