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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user