Permalink
Browse files

Moved to source/, fixed rotation

  • Loading branch information...
1 parent 9b5f237 commit 6c7d87a2bf70c9429d0eaed542cc0e0a281ae5c6 nddrylliog committed Mar 25, 2010
Showing with 5 additions and 5 deletions.
  1. +1 −1 ftgl.use
  2. +4 −4 { → source}/ftgl.ooc
View
@@ -1,6 +1,6 @@
Name: ftgl
Description: ftgl
-SourcePath: .
+SourcePath: source/
Libs: -lftgl
Pkgs: ftgl
@@ -20,12 +20,12 @@ Ftgl: class {
printf("Loaded font: %s\n",filename)
}
- render: func(x,y,s: Double,mirror: Bool, text: String) {
+ render: func(x,y,s: Double, mirror: Bool, text: String) {
glPushMatrix()
- glTranslated(x,y,0)
- glScaled(s,s,s);
+ glTranslated(x, y, 0)
+ glScaled(s, s, s);
if(mirror) {
- glRotated(180,1,1,1)
+ glRotated(180, 1, 0, 0)
}
renderFont(font,text,FTGL_RENDER_ALL)
glPopMatrix()

0 comments on commit 6c7d87a

Please sign in to comment.