diff --git a/examples/mayaPolySmooth/mayaPolySmooth.cpp b/examples/mayaPolySmooth/mayaPolySmooth.cpp index b20754e2..1b90c98c 100644 --- a/examples/mayaPolySmooth/mayaPolySmooth.cpp +++ b/examples/mayaPolySmooth/mayaPolySmooth.cpp @@ -498,7 +498,7 @@ struct Vertex { Vertex(Vertex const & src) { position[0] = src.position[0]; position[1] = src.position[1]; - position[1] = src.position[1]; + position[2] = src.position[2]; } void Clear( void * =0 ) { diff --git a/tutorials/far/tutorial_5/far_tutorial_5.cpp b/tutorials/far/tutorial_5/far_tutorial_5.cpp index 91d3f2ab..bea126cb 100644 --- a/tutorials/far/tutorial_5/far_tutorial_5.cpp +++ b/tutorials/far/tutorial_5/far_tutorial_5.cpp @@ -49,7 +49,7 @@ struct Vertex { Vertex(Vertex const & src) { _data[0] = src._data[0]; _data[1] = src._data[1]; - _data[1] = src._data[1]; + _data[2] = src._data[2]; } void Clear( void * =0 ) {