Documentation
1
2
3
4
5
6
7
8
9
use cgmath;
use glium;
use mesh::Mesh;

pub struct Entity {
    pub transform: cgmath::Matrix4<f32>,
    pub mesh: Mesh,
    pub program: glium::Program,
}