18 years, 2 months ago
Highlights
18 years, 2 months ago
The Red Book recommends this approach, too, using only one glRotate*() command where the angle is determined by the dot product of the two vectors, and the axis of rot…
18 years, 2 months ago
So I am trying to draw a line with an arrow at the end. For the lines I am using GL_LINES, and for the arrow at the end, I am using gluCylinder(), with the base set to zero to m…
18 years, 2 months ago
So I tried an approach like that earlier, which looked like:glPushMatrix(); glTranslatef(x, y, z); glRotatef(90-rTd*atan(normal[2]/normal[1]),1.0,0,0); glRotatef(90-rTd*atan(nor…
18 years, 2 months ago
Latest Activity
The Red Book recommends this approach, too, using only one glRotate*() command where the angle is determined by the dot …
18 years, 2 months ago
So I tried an approach like that earlier, which looked like:glPushMatrix(); glTranslatef(x, y, z); glRotatef(90-rTd*atan(normal[2]/normal[1]),1.0,0,0); glRotatef(90-rTd*atan(normal[2]/normal[0]),0,1.0
18 years, 2 months ago
So I am trying to draw a line with an arrow at the end. For the lines I am using …
18 years, 2 months ago