Hi!
Well, I'm stucked at programming GLES on my android device. Because I
can draw things on the screen, but not transformations.: When I try to
build the program I got:
undefined reference to `glRotatef'
My include have these lines:
#include <jni.h>
#include <android/log.h>
#include <GLES/gl.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
It seems the GLES/gl.h has that line:
GL_API void GL_APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat
y, GLfloat z);
(same problem with gltranslatef)
So I really don't understand it. This is my first time to develop on
these devices, so I don't know, I do everything well.
Thanks RiseR


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to