Class: Assimp::Quat
- Inherits:
-
Data
- Object
- Data
- Assimp::Quat
- Defined in:
- lib/assimp/math.rb
Instance Attribute Summary collapse
-
#w ⇒ Object
readonly
Returns the value of attribute w.
-
#x ⇒ Object
readonly
Returns the value of attribute x.
-
#y ⇒ Object
readonly
Returns the value of attribute y.
-
#z ⇒ Object
readonly
Returns the value of attribute z.
Instance Method Summary collapse
Instance Attribute Details
#w ⇒ Object (readonly)
Returns the value of attribute w
10 11 12 |
# File 'lib/assimp/math.rb', line 10 def w @w end |
#x ⇒ Object (readonly)
Returns the value of attribute x
10 11 12 |
# File 'lib/assimp/math.rb', line 10 def x @x end |
#y ⇒ Object (readonly)
Returns the value of attribute y
10 11 12 |
# File 'lib/assimp/math.rb', line 10 def y @y end |
#z ⇒ Object (readonly)
Returns the value of attribute z
10 11 12 |
# File 'lib/assimp/math.rb', line 10 def z @z end |
Instance Method Details
#to_a ⇒ Object
11 12 13 |
# File 'lib/assimp/math.rb', line 11 def to_a [x, y, z, w] end |