More Related Content
Similar to WebGL Performance Tuning Tips (20)
More from Yukio Andoh (20)
WebGL Performance Tuning Tips
- 3. SGI IRIS GL 1984∼, OpenGL 1992∼ VRML 1995∼ Canvas3D 2006∼ WebGL 2011∼
- 46. #08
型付き配列を活用
Float32Array() が
座標値の配列にも色値
もマトリックス表現も
調度いい。適度な精度
trianglePositions = new
Float32Array([
// X, Y, Z,
-0.5, -0.25, 0.0,
0.5, -0.25, 0.0,
0.0, 0.559016994, 0.0]);