mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-29 23:01:05 +00:00
Fixed more array indexing issues in examples/tutorials
This commit is contained in:
parent
aba0ef9692
commit
cc5a9e891c
@ -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 ) {
|
||||||
|
@ -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 ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user