Revision a58ba4b...

Go back to digest for 9th January 2011

Features in Games

Giulio Camuffo committed changes in [Gluon] /graphics:

Introduce a new overload for Item::render() taking a MaterialInstance.
This allows Item subclasses to render easily with more than one material.

Also, pass to Mesh::render the gl mode it should use. Subclasses of Item can change the mode by reimplementing render().

File Changes

Modified 4 files
  • /graphics
  •   /item.cpp
  •   /item.h
  •   /mesh.cpp
  •   /mesh.h
4 files changed in total