00001 /********************* 00002 * Untitledurpose 00003 * uthor 00004 **********************/ 00005 #pragma once 00006 00007 #include "constants.h" 00008 #include "GMathObject.h" 00009 #include "GVec4f.h" 00010 #include "GMatrix16.h" 00011 00012 class GBoundingSphere : public GMathObject 00013 { 00014 public: 00015 GVec4f Center; 00016 float Radius; 00017 00018 GBoundingSphere(); 00019 GBoundingSphere(GVec4f _Center, float _Radius); 00020 int Draw(double time, double dtime, GMatrix16 *viewmatrix, GMatrix16 *worldmatrix, int FLAGS); 00021 int Move(GVec4f v); 00022 int MoveTo(GVec4f v); 00023 };