Method: CP::Space::SegmentQueryInfo#initialize

Defined in:
lib/chipmunk-ffi/space.rb

#initialize(hit, shape, t = nil, n = nil, info = nil) ⇒ SegmentQueryInfo

Returns a new instance of SegmentQueryInfo.



347
348
349
350
351
352
353
# File 'lib/chipmunk-ffi/space.rb', line 347

def initialize(hit,shape,t=nil,n=nil,info=nil)
  @hit = hit
  @shape = shape
  @t = t
  @n = n
  @info = info
end