aboutsummaryrefslogtreecommitdiff
path: root/stockton-levels/src/traits/vertices.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/vertices.rs
parentb437109ebf4da243fd643f0a31546d0d0155b0a4 (diff)
feat(render): multithreaded texture loading
also a bunch of supporting changes
Diffstat (limited to 'stockton-levels/src/traits/vertices.rs')
-rw-r--r--stockton-levels/src/traits/vertices.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/stockton-levels/src/traits/vertices.rs b/stockton-levels/src/traits/vertices.rs
index ff23785..44c3000 100644
--- a/stockton-levels/src/traits/vertices.rs
+++ b/stockton-levels/src/traits/vertices.rs
@@ -17,7 +17,7 @@
use crate::coords::CoordSystem;
use crate::helpers::slice_to_f32;
-use crate::types::RGBA;
+use crate::types::Rgba;
use na::Vector3;
/// A vertex, used to describe a face.
@@ -26,7 +26,7 @@ pub struct Vertex {
pub position: Vector3<f32>,
pub tex: TexCoord,
pub normal: Vector3<f32>,
- pub color: RGBA,
+ pub color: Rgba,
}
/// Represents a TexCoord. 0 = surface, 1= lightmap.