//////////////////////////////////////////// // Compile using g++ -Wall example.cpp -lm //////////////////////////////////////////// // All lines starting with //** should work after // you are done with your dvector.hpp implementation. #include #include "dpoint.hpp" #include "timer.hpp" //**#include "dvector.hpp" // We do not want to keep saying std:: for these using std::cout; using std::endl; // Call our points `Point' typedef _cg::dpoint Point; //** typedef _cg::dpoint Vector; int main(void){ // Initialize a timer class to measure time MyTimer totime; // Two dummy points Point myorigin(0,0); Point other(0,10); Point testp(10,10); testp = 0.5f * testp; // Output cout << endl << myorigin << endl; cout << "Orientation = " <