1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-23 05:30:31 -04:00
ports/graphics/nurbs++/files/patch-matrix_matrix_point.cpp
Alexey Dokuchaev 25f100a96e - Resurrect; unbreak on all supported versions of FreeBSD (and 8.X)
- Drop leading indefinite article from COMMENT text
- Stagify, convert to USES=libtool, switch to .tar.bz2 distfile
2015-10-21 16:34:23 +00:00

38 lines
812 B
C++

--- matrix/matrix_point.cpp.orig 2008-02-13 22:22:23.000000000 +0100
+++ matrix/matrix_point.cpp 2008-02-13 22:23:16.000000000 +0100
@@ -27,7 +27,7 @@
namespace PLib {
- double
+ template<> double
Matrix<Point3Df>::norm(void) {
int i,j ;
double sumX, sumY, sumZ, maxsum;
@@ -55,7 +55,7 @@
return sqrt(maxsum);
}
- double
+ template<> double
Matrix<Point3Dd>::norm(void) {
int i,j ;
double sumX, sumY, sumZ, maxsum;
@@ -83,7 +83,7 @@
return sqrt(maxsum);
}
- double
+ template<> double
Matrix<Point2Df>::norm(void) {
int i,j ;
double sumX, sumY, sumZ, maxsum;
@@ -111,7 +111,7 @@
return sqrt(maxsum);
}
- double
+ template<> double
Matrix<Point2Dd>::norm(void) {
int i,j ;
double sumX, sumY, sumZ, maxsum;