Skip to content

Instantly share code, notes, and snippets.

@Colmea
Created January 20, 2016 16:16
Show Gist options
  • Save Colmea/2251b7da0585413efaf4 to your computer and use it in GitHub Desktop.
Save Colmea/2251b7da0585413efaf4 to your computer and use it in GitHub Desktop.
this.project.objects.forEach((object: AbstractObject, index) => {
if ('timber' == object.type) {
var timber: Timber = object;
var timber3D: Timber3D = new Timber3D(timber, this.scene);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment