Class: Assimp::Native::Quaternion

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/assimp/native/types.rb,
lib/assimp/native/generated.rb

Instance Method Summary collapse

Instance Method Details

#to_aObject



23
24
25
# File 'lib/assimp/native/types.rb', line 23

def to_a
  [self[:x], self[:y], self[:z], self[:w]]
end