Added some documentation on the lights. Got most everything tidied up. Having some issues with std::moving unique ptrs. Going to change them to shared_ptr

This commit is contained in:
MitchellHansen
2017-02-11 21:43:32 -08:00
parent bfb6d922a3
commit 6e0d5814e1
7 changed files with 68 additions and 20 deletions

View File

@@ -9,6 +9,16 @@
struct LightPrototype {
LightPrototype(
sf::Vector3f position,
sf::Vector3f direction_cartesian,
sf::Vector4f rgbi
) :
position(position),
direction_cartesian(direction_cartesian),
rgbi(rgbi) { };
sf::Vector3f position;
sf::Vector3f direction_cartesian;
sf::Vector4f rgbi;
@@ -25,9 +35,10 @@ struct PackedData {
position(position), direction_cartesian(direction_cartesian), rgbi(rgbi) {
}
PackedData() {};
sf::Vector4f rgbi;
sf::Vector3f position;
sf::Vector3f direction_cartesian;
sf::Vector4f rgbi;
};
class LightHandle;