diff options
Diffstat (limited to 'gfx')
| -rw-r--r-- | gfx/gl/lights.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gfx/gl/lights.h b/gfx/gl/lights.h new file mode 100644 index 0000000..3247e25 --- /dev/null +++ b/gfx/gl/lights.h @@ -0,0 +1,16 @@ +#pragma once + +#include "config/types.h" + +struct LightCommonVertex { + RelativePosition3D position; + RGB colour; + RelativeDistance kq; +}; + +struct SpotLightVertex : LightCommonVertex { + Direction3D direction; + Angle arc; +}; + +struct PointLightVertex : LightCommonVertex { }; |
