> A nice and short solution (I wasn't even aware of the Vector class in the > standard lib), you only forgot to normalize the vertices of the resulting > triangles. Uh, I completely forgot this while watching the pretty triangles rotate :-) By the way, the opengl code is only a slight modification of one of the ruby-opengl examples. martinus