Lysa  0.0
Lysa 3D Engine
quaternion Struct Reference

Detailed Description

A unit quaternion representing a 3-D rotation.

Lua full name: lysa.quaternion

Properties

number x
 Constructor: quaternion() quaternion(x, y, z, w)
 
number y
 Y (imaginary j) component.
 
number z
 Z (imaginary k) component.
 
number w
 W (real) component.
 

Property Documentation

number x

Constructor: quaternion() quaternion(x, y, z, w)

number y

Y (imaginary j) component.

number z

Z (imaginary k) component.

number w

W (real) component.