All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Link to 0.1.0 in changelog.
bind
method to VertexArray.- Derived
Debug
implementations. BufferTarget
enum.bind
method to VertexBuffer.- Crate model with diffuse and specular map.
- Light with ambient, diffuse and specular color in fragment shader.
- Material with diffuse texture, specular texture and shininess in fragment shader.
- Attenuation to point light.
ProgramId::attach
is now performed byProgramId::link
.- Renamed
ProgramId::use_program
toProgramId::bind
. ShaderId::compile
and friends now takesources: &[&str]
as a parameter instead ofsources: &[T]
whereT: AsRef<str>
. The old signature would not allowcompile(&[a, b])
wherea
andb
have different types that both do implementAsRef<str>
, requiring the caller to typecompile(&[a.as_ref(), b.as_ref()])
. If that is a common case, we might as well have the parameter be&[&str]
to keep things simple.
0.1.0 - 2017-11-25
- Changelog.
- Basic OpenGL rendering.
- Wavefront object file importing.
- A few toy models.