Fixed more array indexing issues in examples/tutorials

This commit is contained in:
jcowles 2015-03-12 12:32:30 -07:00
parent aba0ef9692
commit cc5a9e891c
2 changed files with 2 additions and 2 deletions

View File

@ -498,7 +498,7 @@ struct Vertex {
Vertex(Vertex const & src) { Vertex(Vertex const & src) {
position[0] = src.position[0]; position[0] = src.position[0];
position[1] = src.position[1]; position[1] = src.position[1];
position[1] = src.position[1]; position[2] = src.position[2];
} }
void Clear( void * =0 ) { void Clear( void * =0 ) {

View File

@ -49,7 +49,7 @@ struct Vertex {
Vertex(Vertex const & src) { Vertex(Vertex const & src) {
_data[0] = src._data[0]; _data[0] = src._data[0];
_data[1] = src._data[1]; _data[1] = src._data[1];
_data[1] = src._data[1]; _data[2] = src._data[2];
} }
void Clear( void * =0 ) { void Clear( void * =0 ) {