Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- glVertexAttribPointer(
- 0, // index: the index of the attribute to be modified
- 1, // size: the number of components per attribute
- GL_FLOAT, // type: the data type of each component
- GL_FALSE, // normalized: whether or not to normalize data points
- 2, // stride: the byte offset between attributes
- (void *)0 // pointer: the offset of the first component of the first array attribute
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement