Class: Quake::Physics::TraceResult

Inherits:
Data
  • Object
show all
Defined in:
lib/quake/physics/hull_trace.rb

Overview

Trace result from hull tracing.

Instance Attribute Summary collapse

Instance Attribute Details

#all_solidObject (readonly)

Returns the value of attribute all_solid

Returns:

  • (Object)

    the current value of all_solid



6
7
8
# File 'lib/quake/physics/hull_trace.rb', line 6

def all_solid
  @all_solid
end

#end_posObject (readonly)

Returns the value of attribute end_pos

Returns:

  • (Object)

    the current value of end_pos



6
7
8
# File 'lib/quake/physics/hull_trace.rb', line 6

def end_pos
  @end_pos
end

#fractionObject (readonly)

Returns the value of attribute fraction

Returns:

  • (Object)

    the current value of fraction



6
7
8
# File 'lib/quake/physics/hull_trace.rb', line 6

def fraction
  @fraction
end

#in_openObject (readonly)

Returns the value of attribute in_open

Returns:

  • (Object)

    the current value of in_open



6
7
8
# File 'lib/quake/physics/hull_trace.rb', line 6

def in_open
  @in_open
end

#in_waterObject (readonly)

Returns the value of attribute in_water

Returns:

  • (Object)

    the current value of in_water



6
7
8
# File 'lib/quake/physics/hull_trace.rb', line 6

def in_water
  @in_water
end

#plane_distObject (readonly)

Returns the value of attribute plane_dist

Returns:

  • (Object)

    the current value of plane_dist



6
7
8
# File 'lib/quake/physics/hull_trace.rb', line 6

def plane_dist
  @plane_dist
end

#plane_normalObject (readonly)

Returns the value of attribute plane_normal

Returns:

  • (Object)

    the current value of plane_normal



6
7
8
# File 'lib/quake/physics/hull_trace.rb', line 6

def plane_normal
  @plane_normal
end

#start_solidObject (readonly)

Returns the value of attribute start_solid

Returns:

  • (Object)

    the current value of start_solid



6
7
8
# File 'lib/quake/physics/hull_trace.rb', line 6

def start_solid
  @start_solid
end