CsGL-based 3D space + rotation source code