aboutsummaryrefslogtreecommitdiff
path: root/stockton-levels/src/traits/light_vols.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:22 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:22 +0100
commitc48b54f3fb7bbe9046915eb99eca02fa84dc55c9 (patch)
tree752831451d2bd3a658485df724a01ae39e80fae3 /stockton-levels/src/traits/light_vols.rs
parentb437109ebf4da243fd643f0a31546d0d0155b0a4 (diff)
feat(render): multithreaded texture loading
also a bunch of supporting changes
Diffstat (limited to 'stockton-levels/src/traits/light_vols.rs')
-rw-r--r--stockton-levels/src/traits/light_vols.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/stockton-levels/src/traits/light_vols.rs b/stockton-levels/src/traits/light_vols.rs
index 48972ef..016ddab 100644
--- a/stockton-levels/src/traits/light_vols.rs
+++ b/stockton-levels/src/traits/light_vols.rs
@@ -15,12 +15,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use crate::types::RGB;
+use crate::types::Rgb;
#[derive(Debug, Clone, Copy)]
pub struct LightVol {
- pub ambient: RGB,
- pub directional: RGB,
+ pub ambient: Rgb,
+ pub directional: Rgb,
pub dir: [u8; 2],
}