#include "ProxyHeaders.hpp" // //############################################################################ //############################# LightProxy ############################# //############################################################################ // LightProxy::ClassData* LightProxy::DefaultData = NULL; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // void LightProxy::InitializeClass() { Verify(!DefaultData); DefaultData = new ClassData( LightProxyClassID, "LightProxy", ChildProxy::DefaultData ); Register_Object(DefaultData); } //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // void LightProxy::TerminateClass() { Unregister_Object(DefaultData); delete DefaultData; DefaultData = NULL; } //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // LightProxy::LightProxy( ClassData *class_data, SceneProxy *scene, GroupProxy *parent ): ChildProxy(class_data, scene, parent) { Check_Object(this); } //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // LightProxy::~LightProxy() { Check_Object(this); } //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // void LightProxy::TestInstance() const { Verify(IsDerivedFrom(DefaultData)); Check_Object(sceneProxy); } //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // void LightProxy::GetCentroid(Point3D *centroid) { Check_Object(this); Check_Object(centroid); *centroid = Point3D::Identity; } //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // void LightProxy::FitBoundingSphere(Sphere *sphere) { Check_Object(this); Check_Object(sphere); sphere->radius = 0.0f; sphere->center = Point3D::Identity; }