freebsd-ports/graphics/nurbs++/files/patch-matrix_matrix_hpoint.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
800 B
C++

--- matrix/matrix_hpoint.cpp.orig 2008-02-13 22:23:41.000000000 +0100
+++ matrix/matrix_hpoint.cpp 2008-02-13 22:24:43.000000000 +0100
@@ -27,7 +27,7 @@
namespace PLib {
- double
+ template<> double
Matrix<HPoint3Df>::norm(void) {
int i,j ;
double sumX, sumY, sumZ, sumW, maxsum;
@@ -58,7 +58,7 @@
}
- double
+ template<> double
Matrix<HPoint3Dd>::norm(void) {
int i,j ;
double sumX, sumY, sumZ, sumW, maxsum;
@@ -89,7 +89,7 @@
}
- double
+ template<> double
Matrix<HPoint2Df>::norm(void) {
int i,j ;
double sumX, sumY, sumZ, sumW, maxsum;
@@ -119,7 +119,7 @@
return sqrt(maxsum);
}
- double
+ template<> double
Matrix<HPoint2Dd>::norm(void) {
int i,j ;
double sumX, sumY, sumZ, sumW, maxsum;