summaryrefslogtreecommitdiff
path: root/assetFactory/lights.cpp
blob: ec8e17e1ef67df498b5d4879e1708e2b18f994bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "lights.h"

bool
SpotLight::persist(Persistence::PersistenceStore & store)
{
	return STORE_TYPE && STORE_MEMBER(position) && STORE_MEMBER(direction) && STORE_MEMBER(colour) && STORE_MEMBER(kq)
			&& STORE_MEMBER(arc);
}

bool
PointLight::persist(Persistence::PersistenceStore & store)
{
	return STORE_TYPE && STORE_MEMBER(position) && STORE_MEMBER(colour) && STORE_MEMBER(kq);
}