diff options
author | chai <chaifix@163.com> | 2018-12-21 19:02:22 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-21 19:02:22 +0800 |
commit | 84a663cb70b057a5ce0c9ff1910bc2eb9c0ba653 (patch) | |
tree | 625d2a7804c6f29aac367098972f96a47fcb7ae3 /src/libjin/math/je_matrix.cpp | |
parent | 90cd4ff40e647e4150638e69f80ac587ceff1631 (diff) |
+2d mesh
Diffstat (limited to 'src/libjin/math/je_matrix.cpp')
-rw-r--r-- | src/libjin/math/je_matrix.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 <cstring> // 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<size; ++i) { |