Class: Jolt::Hit
- Inherits:
-
Data
- Object
- Data
- Jolt::Hit
- Defined in:
- lib/jolt/hit.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#fraction ⇒ Object
readonly
Returns the value of attribute fraction.
-
#normal ⇒ Object
readonly
Returns the value of attribute normal.
-
#point ⇒ Object
readonly
Returns the value of attribute point.
-
#sub_shape_id ⇒ Object
readonly
Returns the value of attribute sub_shape_id.
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
4 5 6 |
# File 'lib/jolt/hit.rb', line 4 def body @body end |
#fraction ⇒ Object (readonly)
Returns the value of attribute fraction
4 5 6 |
# File 'lib/jolt/hit.rb', line 4 def fraction @fraction end |
#normal ⇒ Object (readonly)
Returns the value of attribute normal
4 5 6 |
# File 'lib/jolt/hit.rb', line 4 def normal @normal end |
#point ⇒ Object (readonly)
Returns the value of attribute point
4 5 6 |
# File 'lib/jolt/hit.rb', line 4 def point @point end |
#sub_shape_id ⇒ Object (readonly)
Returns the value of attribute sub_shape_id
4 5 6 |
# File 'lib/jolt/hit.rb', line 4 def sub_shape_id @sub_shape_id end |