From d4e18d0acc29f0f49d655a0bc0723b8d7a4f3414 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 21 Oct 1998 14:56:50 +0000 Subject: [PATCH] Minor parameter passing tweak. --- Tri2obj/tri2obj.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Tri2obj/tri2obj.cxx b/Tri2obj/tri2obj.cxx index 2079c3d4d..a3401052c 100644 --- a/Tri2obj/tri2obj.cxx +++ b/Tri2obj/tri2obj.cxx @@ -52,8 +52,8 @@ fgBUCKET north_index, south_index, east_index, west_index; // given three points defining a triangle, calculate the normal -void calc_normal(Point3D p1, Point3D p2, - Point3D p3, double normal[3]) +void calc_normal(const Point3D& p1, const Point3D& p2, + const Point3D& p3, double normal[3]) { double v1[3], v2[3]; double temp; @@ -623,6 +623,9 @@ int main(int argc, char **argv) { // $Log$ +// Revision 1.5 1998/10/21 14:56:50 curt +// Minor parameter passing tweak. +// // Revision 1.4 1998/10/20 15:52:46 curt // Fixed a units conversion bug introduced when converting to Point3D class. // -- 2.39.2