gl-rs unsafety fallout
Implement cube mapping.

Closes #307