1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include "Vector3d.h" #include "Vector3f.h" Vector3d::Vector3d(const Vector3f & v ) : x( v.x ) , y( v.y ) , z( v.z ) { } Vector3d::Vector3d(const Vector3f * v ) : x( v->x ) , y( v->y ) , z( v->z ) { }