matrix_engine 0.2.4

a small game engine developed by drmatrix
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub mod square;
pub mod cube;

use std::any::Any;

use super::vertecies::MatrixVertexBufferable;

pub trait Model<V: MatrixVertexBufferable>: Send + Sync + Any {
    fn vertices(&self) -> Vec<V>;
    fn indexes(&self) -> Vec<u16>;
}