00001 #include <string> 00002 #include <ocean/eagle/PhysicalSpace.hpp> 00003 00004 using std::string; 00005 00006 struct Context 00007 { 00008 double time; 00009 struct { double x,y,z; } Point; 00010 double a; 00011 double b; 00012 double c; 00013 }; 00014 00015 struct ParseContext : Context 00016 { 00017 string what; 00018 unsigned where; 00019 00020 Eagle::tvector3 vectorresult; 00021 00022 static double scalareval(ParseContext&P); 00023 00024 static Eagle::tvector3 vectoreval(ParseContext&P); 00025 00026 }; 00027 00028