func (o *Object) GetChunkedRenderable() *VAORenderable {
	portions := []RenderablePortion{}
	for _, g := range o.groups {
		portions = append(portions, RenderablePortion{g.start, g.end - g.start, g.mat.diffuse})
	}
	return NewChunkedRenderable(o.vertices, portions)
}
// GetChunkedRenderable builds the renderable for this Object.
GetChunkedRenderable builds the renderable for this Object.
// GetChunkedRenderable builds the renderable for this Object .
func (o *Object) GetChunkedRenderable() *VAORenderable {
	portions := []RenderablePortion{}
	for _, g := range o.groups {
		portions = append(portions, RenderablePortion{g.start, g.end - g.start, g.mat.diffuse})
	}
	return NewChunkedRenderable(o.vertices, portions)
}
func ( o * Object ) GetChunkedRenderable ( ) * VAORenderable { portions := [ ] RenderablePortion { } for _ , g := range o . groups { portions = append ( portions , RenderablePortion { g . start , g . end - g . start , g . mat . diffuse } ) } return NewChunkedRenderable ( o . vertices , portions ) }
GetChunkedRenderable builds the renderable for this Object.
GetChunkedRenderable builds the renderable for this Object .