0

I've been looking up 3D tutorials in OpenGL, and almost all tutorials I find uses the Vector3f class.

Googling for a Vector3f class returns a class within the android.renderscript.* package. But, in vanilla Android 2.3.3 SDK, I do not find any android.renderscript.* package.

Could anyone tell me where I can find the Vector3f class in vanilla Android 2.3.3? Thanks!

tom_mai78101
  • 2,383
  • 2
  • 32
  • 59

2 Answers2

1

Android suports OpenGL ES not OpenGL. It sounds the same but it is not. Tutorial on OpenGL may be useful to get some generic fundamentals, but you should look for OpenGL ES tutorial (be it Android or iOS) as many things differ enough to make OpenGL tutorials not work on ES

I found this worth reading

Community
  • 1
  • 1
Marcin Orlowski
  • 72,056
  • 11
  • 123
  • 141
0

there is http://docs.oracle.com/cd/E17802_01/j2se/javase/technologies/desktop/java3d/forDevelopers/j3dapi/javax/vecmath/package-summary.html. also see Import javax.vecmath

Community
  • 1
  • 1
Ray Tayek
  • 9,841
  • 8
  • 50
  • 90