c++ Programming Glossary: float3
What are some best practices for OpenGL coding (esp. w.r.t. object orientation)? http://stackoverflow.com/questions/166356/what-are-some-best-practices-for-opengl-coding-esp-w-r-t-object-orientation . A vertex can be in some arbitrary format e.g. only a float3 position a float3 position float3 normal a float3 position float3.. be in some arbitrary format e.g. only a float3 position a float3 position float3 normal a float3 position float3 normal float2.. format e.g. only a float3 position a float3 position float3 normal a float3 position float3 normal float2 texcoord and so..
What about the types int2, int3, float2, float3 etc http://stackoverflow.com/questions/4079451/what-about-the-types-int2-int3-float2-float3-etc about the types int2 int3 float2 float3 etc I've seen different code snippets using these types but.. to use them EDIT Clarification int2 means a pair of ints float3 means a triplet of floats. If these types were predefined somewhere..
|