X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fobjectinstance.h;fp=source%2Fobjectinstance.h;h=3dc5da6a399432bafa62197b01ae0e19d7475f5f;hp=5911dae57fb6f173210ea18936a8e353c11c9f54;hb=904de4f7fd994886adbd3a6c03bc1b7c14ebc562;hpb=900cf40469972b1f32a6dbac95c42f46c3726fa8 diff --git a/source/objectinstance.h b/source/objectinstance.h index 5911dae5..3dc5da6a 100644 --- a/source/objectinstance.h +++ b/source/objectinstance.h @@ -11,9 +11,12 @@ class Object; class ProgramData; /** -Represents a single instance of an Object. An application can derive another -class from this and overload the hook functions to specify location and other -instance-specific parameters for the rendered objects. +Represents a single instance of an Object. A derived class can overload the +hook functions to specify a model matrix and other instance-specific parameters +for the rendered objects. + +ObjectInstances can benefit from being put in an InstanceScene, which will +render all instances of the same object consecutively. */ class ObjectInstance: public Renderable {