Documentation: DataBuffer.PokeFloats()
Monkey Forums/Monkey Bug Reports/Documentation: DataBuffer.PokeFloats()
| ||
PokeFloats : Void ( address:Int, floats:Int[], offset:Int, count:Int ) 2nd argument of DataBuffer.PokeFloats() documentation should be floats:Float[] Local vertices:Float[] = [-1.0, -1.0, 0.0, 1.0, -1.0, 0.0, 0.0, 1.0, 0.0] Local dataBuffer:DataBuffer = New DataBuffer(vertices.Length * 4) dataBuffer.PokeFloats(0, vertices, 0, vertices.Length) |