From fdda54e77e9855c618fdd7ed35c0b19e95593184 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 15 May 2006 11:22:08 +0000 Subject: [PATCH] Changed instances of setCoord(const Vec3) to setCoord(const Vec3&) style. --- src/osgPlugins/OpenFlight/Vertex.cpp | 8 ++++---- src/osgPlugins/OpenFlight/Vertex.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/osgPlugins/OpenFlight/Vertex.cpp b/src/osgPlugins/OpenFlight/Vertex.cpp index 9f3f8fa6d..cb287676e 100644 --- a/src/osgPlugins/OpenFlight/Vertex.cpp +++ b/src/osgPlugins/OpenFlight/Vertex.cpp @@ -33,24 +33,24 @@ Vertex::Vertex(const Vertex& vertex): } } -void Vertex::setCoord(const osg::Vec3 coord) +void Vertex::setCoord(const osg::Vec3& coord) { _coord = coord; } -void Vertex::setColor(const osg::Vec4 color) +void Vertex::setColor(const osg::Vec4& color) { _color = color; _validColor = true; } -void Vertex::setNormal(const osg::Vec3 normal) +void Vertex::setNormal(const osg::Vec3& normal) { _normal = normal; _validNormal = true; } -void Vertex::setUV(int layer, const osg::Vec2 uv) +void Vertex::setUV(int layer, const osg::Vec2& uv) { if (layer>=0 && layer