aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/vertex_data.cpp
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2023-12-05 10:42:35 +0100
committervimene <vincent.menegaux@gmail.com>2023-12-05 10:42:35 +0100
commit9b70ca7b3a1b7bfd3bf434d8b84bde42f5572ca0 (patch)
tree7078a70f7fc5b590c61386f55f4fbcc67e36b0f3 /src/o3d/vertex_data.cpp
parent48ec7df0fd27fab05c9918e83a3a7da1cc32d7a0 (diff)
downloadengine-9b70ca7b3a1b7bfd3bf434d8b84bde42f5572ca0.tar.gz
added renderer, improved various things
- Added renderer to unify frame buffers - Added FrameBuffer class as a parent for frame buffers' classes - Improved formatting in Makefile.am - Added const modifier in Matrix4's methods
Diffstat (limited to 'src/o3d/vertex_data.cpp')
-rw-r--r--src/o3d/vertex_data.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/o3d/vertex_data.cpp b/src/o3d/vertex_data.cpp
index 4e0ab04..ea8c5fd 100644
--- a/src/o3d/vertex_data.cpp
+++ b/src/o3d/vertex_data.cpp
@@ -2,14 +2,14 @@
using namespace engine::o3d;
-VertexData VertexData::lerp(VertexData& vd1, VertexData& vd2, float s) {
+VertexData VertexData::lerp(const VertexData& vd1, const VertexData& vd2, float s) {
(void) vd1;
(void) vd2;
(void) s;
return {};
}
-VertexData VertexData::bilerp(VertexData& vd1, VertexData& vd2, VertexData& vd3, float s, float t) {
+VertexData VertexData::bilerp(const VertexData& vd1, const VertexData& vd2, const VertexData& vd3, float s, float t) {
(void) vd1;
(void) vd2;
(void) vd3;