#include "GMath.h" int main() { GLine l(GPoint3(0.0f, 0.0f, 0.0f), GVector3(1.0, 0.0f, 0.0f)); GPoint3 p = l(2.0f); l.SetPt(GPoint3(0.0f, 0.0f, 1.0f)); l.SetDir(GVector3(1.0f, 0.0f, 0.0f)); GPoint3 q = l(1.0f); cout << q << endl; return 0; }