summaryrefslogtreecommitdiff
path: root/engine/src/file_format/wavefront
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-05-07 22:00:43 +0200
committerHampusM <hampus@hampusmat.com>2024-05-07 22:16:02 +0200
commitb0a3506054a1afd7c6c5554d653753fab6411203 (patch)
treee2883d1354cde4613995c373882bcbf9c07bfe43 /engine/src/file_format/wavefront
parent4d9ce83a8823e457f28f7d8d1377eca2db667d4c (diff)
refactor(engine): remove unused vertex color attribute
Diffstat (limited to 'engine/src/file_format/wavefront')
-rw-r--r--engine/src/file_format/wavefront/obj.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/engine/src/file_format/wavefront/obj.rs b/engine/src/file_format/wavefront/obj.rs
index 7e1629a..29fc985 100644
--- a/engine/src/file_format/wavefront/obj.rs
+++ b/engine/src/file_format/wavefront/obj.rs
@@ -4,7 +4,6 @@
use std::path::PathBuf;
-use crate::color::Color;
use crate::file_format::wavefront::common::{
keyword,
parse_statement_line,
@@ -239,7 +238,6 @@ impl FaceVertex
Ok(VertexBuilder::new()
.pos(vertex_pos)
- .color(Color::WHITE_F32)
.texture_coords(texture_pos)
.normal(vertex_normal)
.build()