This example shows how to dynamically create a simple box mesh and align it with a given direction vector using the pointTowards() method of the toxi.TriangleMesh class. This example creates 300 Axis-Aligned Bounding Boxes, and puts them into a single static buffer object. This utilizes toxi.AABB, toxi.Vec3D, toxi.TriangleMesh, toxi.Quaternion and toxi.Matrix4x4 classes.