aboutsummaryrefslogtreecommitdiff
path: root/src/fb
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2023-12-11 12:42:46 +0100
committervimene <vincent.menegaux@gmail.com>2023-12-11 12:42:46 +0100
commit6b765a85cf81bf4b7162e4c9280dd4054581c611 (patch)
tree4156dff7c632e6511fe18daebeea506744ad1ff7 /src/fb
parentff2c784d4c4100f0301628e8a52a6910d776d067 (diff)
downloadengine-6b765a85cf81bf4b7162e4c9280dd4054581c611.tar.gz
improved mesh definition
- In the context of mesh definition, splited indices into vertex index, normal index and vertex data index to be able to specify different normals and vertex data for different faces using the same vertex
Diffstat (limited to 'src/fb')
-rw-r--r--src/fb/chfb.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fb/chfb.cpp b/src/fb/chfb.cpp
index e3c0cf1..029d619 100644
--- a/src/fb/chfb.cpp
+++ b/src/fb/chfb.cpp
@@ -33,6 +33,7 @@ void CharacterFrameBuffer::clear() {
}
void CharacterFrameBuffer::draw_point(int x, int y, engine::math::Vector3 loc, const engine::o3d::VertexData& vd) {
+ (void) loc;
(void) vd;
chars_vector[x + y * w] = face_char(0);
}