triangle has now colors
This commit is contained in:
@@ -15,5 +15,6 @@ typedef float float32;
|
||||
typedef double float64;
|
||||
|
||||
struct Vertex {
|
||||
float32 x, y, z;
|
||||
float32 x, y, z; // position
|
||||
float32 r, g, b, a; // color
|
||||
};
|
||||
Reference in New Issue
Block a user