From 84a663cb70b057a5ce0c9ff1910bc2eb9c0ba653 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 21 Dec 2018 19:02:22 +0800 Subject: +2d mesh --- src/libjin/math/je_matrix.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libjin/math/je_matrix.cpp') diff --git a/src/libjin/math/je_matrix.cpp b/src/libjin/math/je_matrix.cpp index f51ef5d..f422002 100644 --- a/src/libjin/math/je_matrix.cpp +++ b/src/libjin/math/je_matrix.cpp @@ -1,3 +1,5 @@ +#include "../graphics/je_vertex.h" + #include "je_matrix.h" #include // memcpy @@ -177,7 +179,7 @@ namespace JinEngine // | e2 e6 e10 e14 | // | e3 e7 e11 e15 | - void Matrix::transform(vertex * dst, const vertex * src, int size) const + void Matrix::transform(Graphics::Vertex* dst, const Graphics::Vertex* src, int size) const { for (int i = 0; i