[−][src]Trait cat_engine::graphics::SimpleObject
Типаж для создания собственных простых одноцветных объектов.
Trait for creating your own plain objects.
Associated Types
type Indices: Into<IndicesSource<'a>>
Required methods
fn colour(&self) -> Colour
Цвет объекта.
An object's colour.
fn point_buffer(&self) -> Vec<Vertex2D>
Точки объекта в оконных координатах (без приведения к формату OpenGL).
Object's points in window axes (without converting to OpenGL format).
fn indices(&self) -> Self::Indices
Индексы для построения объекта.
Indices to build an object.