/*
QtWagon: a project about 3D objects.
Science and technology promotion license applied. Third party license automatically cascaded.
Zhikai Wang/ www.heteroclinic.net 2013
You can do anything with this file or any file(s) published as part QtWagon project, given this header is kept.
*/
#include "qtLight.h"
qtLight::qtLight() {
};
qtLight::~qtLight() {
};
void qtLight::emitGLWidgetOrders(int op,float val) {
	//std::cout<<"qtCamera::emitGLWidgetOrders(int op,float val)"<<std::endl;
	emit
		 sigLight3dMoveOrders(op,val);
};
//qtLight::

void qtLight::slotLightUpdateWagonValueOnly() {
	qtCamera::setControlsByWagon();
};
void qtLight::setLightPt(glLight * ncpt)  {
	currentLight = ncpt;
	qtCamera::setCameraPt(ncpt);
};

glLight * qtLight::getCurrentLight () 
		{
			return currentLight;
};