Android opengl ES 2.0 AirHockey Kotlin

Android_opengl_ES_2.0_AirHockey (Kotlin)

Here are some basic OpenGL codes for learning!!! Sorry for my misspelling on word “air hockey”. And, there are some detailed comments in the codes.

AirHockKey (Clear color)

AirHockKey1 (A air hockey table is made up of two points, one line, and two triangles)

AirHockKey2

AirHockKey3 (Four triangles and the blending color)

AirHockKey4 (Conisder aspect ratio. The table would not be squashed when the portrait mode turns into the landscape mode)

AirHockKey5 (3D. We add the fixed w-axis.)

AirHockKey6

AirHockKey7 (Texture mapping)

GitHub

View Github