Skip to content
Snippets Groups Projects
Commit ea9e0b8f authored by Florian Hölzl's avatar Florian Hölzl
Browse files

first strange version of graph display

refs 907
parent d6ae2592
No related branches found
No related tags found
No related merge requests found
......@@ -195,6 +195,11 @@ public class GLPrimitives {
glScalef(scale.x, scale.y, scale.z);
}
/** Applies the given scaling factor. */
public static void scale(float x, float y, float z) {
glScalef(x, y, z);
}
/** Applies the given rotation angle to the axis. */
public static void rotate(Vector4f axisAndAngle) {
glRotatef(axisAndAngle.w, axisAndAngle.x, axisAndAngle.y, axisAndAngle.z);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment