![]() |
|
#include "VRMLFile.h"
#include "AnyThing.h"
#include "SFVec3f.h"
#include <iostream.h>
main(){
SFVec3f place1(1, 2, 3);
SFVec3f place2(-1, -2, -3);
SFVec3f place3(-1, 2, 3);
SFVec3f place4(1, -2, -3);
SFVec3f angles1(0.1, 0.2, 0.3);
SFVec3f angles2(0.2, 0.4, 0.6);
AnyThing anyThing1(1, 2, 3, place1, angles1, 0.3, place2);
AnyThing anyThing2(0.5, 1.0, 1.5, place3, angles2, 0.6, place4);
VRMLFile myFile;
myFile.display(anyThing1);
myFile.display(anyThing2);
}