Added specialized Convert() for the same scalar type.
This commit is contained in:
parent
aef362e62d
commit
8d8eed9f02
|
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.21 2005/05/06 14:45:33 spinelli
|
||||||
|
cambiato parentesi nel costruttore di GetUV per rendere compatibile tale costruttore con MVC e borland
|
||||||
|
|
||||||
Revision 1.20 2005/04/27 16:05:19 callieri
|
Revision 1.20 2005/04/27 16:05:19 callieri
|
||||||
line 466, added parentesis on default value creator getUV [borland]
|
line 466, added parentesis on default value creator getUV [borland]
|
||||||
|
|
||||||
|
|
@ -159,6 +162,11 @@ public:
|
||||||
return Point3(P3ScalarType(b[0]),P3ScalarType(b[1]),P3ScalarType(b[2]));
|
return Point3(P3ScalarType(b[0]),P3ScalarType(b[1]),P3ScalarType(b[2]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline Point3 Construct( const Point3<ScalarType> & b )
|
||||||
|
{
|
||||||
|
return b;
|
||||||
|
}
|
||||||
|
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
//@{
|
//@{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue