deltaluca

Untitled

Apr 10th, 2013
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. var buf:FloatBuffer = GL.allocBuffer(GL.FLOAT, 10);
  2. trace(buf[0] = 10); // set first float to 10
  3. var buf2:IntBuffer = buf.raw;
  4. trace(buf[0] = 10); // set first int of the same buffer store to 10
Advertisement
Add Comment
Please, Sign In to add comment