| Class | Fox::FXGLPoint |
| In: |
lib/fox16/glshapes.rb
|
| Parent: | FXGLObject |
| pos | [RW] | Point position, in model coordinates (a 3-element array) |
Returns an initialized FXGLPoint instance. If no arguments are passed to new, the initial point position is (0.0, 0.0, 0.0). You can specify a different initial position by passing in the x, y and z coordinates individually:
aPoint = FXGLPoint.new(x, y, z)
or as a 3-element array:
aPoint = FXGLPoint.new([x, y, z])