Module: Snow::MathPointers

Included in:
Mat4, Mat4Array, Quat, QuatArray, Vec3, Vec3Array, Vec4, Vec4Array
Defined in:
lib/snow-math/ptr.rb

Instance Method Summary collapse

Instance Method Details

#to_ptrObject



12
13
14
# File 'lib/snow-math/ptr.rb', line 12

def to_ptr
  Fiddle::Pointer.new(self.address, self.size)
end