X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Tri2obj%2Ftri2obj.cxx;h=a3401052cfd33e156d0455b75c439ea0d322ed0c;hb=d4e18d0acc29f0f49d655a0bc0723b8d7a4f3414;hp=2079c3d4d75728da50f4bb9d35e6d3be3188b9a5;hpb=e12ef6b4509c74db54b51bdb70e13feef91138b0;p=flightgear.git 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. //