# Available Packages:

Back to index
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/Wurst
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Ability
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Boolexpr
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Camera
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Destructable
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Dialog
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Effect
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Fogmodifier
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Force
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/ForceTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Framehandle
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/GameCache
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/GameCacheTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Group
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/GroupTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Hashtable
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/HashtableTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Image
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Item
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Lightning
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Multiboard
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Player
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Playercolor
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Quest
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/QuestItem
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/QuestItemTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/QuestTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Rect
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Region
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Sound
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Texttag
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Timer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/TimerDialog
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Trigger
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Unit
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Weather
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Widget
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/_Handles
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Boolean
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Integer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/PrimitivesTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Real
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Reference
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/String
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/StringTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/_Primitives
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Annotations
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Basics
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/ErrorHandling
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/MagicFunctions
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Reflection
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/TypeCasting
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Wurstunit
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Abilities
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/AbilityIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Assets
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/AttachmentPoints
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/BuffIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Buildings
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Doodads
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Environment
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/FramehandleNames
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Icons
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/ItemIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Objects
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/OrderIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Orders
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/PathingMaps
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Sounds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Soundsets
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Textures
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Tiles
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/UI
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/UnitAnimations
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/UnitIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Units
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/WeatherEffects
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureEvents
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureEventsTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureForGroups
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureFrames
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureKeyPresses
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureTimers
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/Execute
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/BitSet
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashList
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashListTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashMap
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashMapTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashSet
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashSetTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedList
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedListModule
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedListModuleTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedListTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/Table
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/DummyCaster
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/DummyDamage
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/DummyRecycler
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/Fx
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/Fx2
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/InstantDummyCaster
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/DamageDetection
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/DamageEvent
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/EventHelper
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/LastOrder
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/OnUnitEnterLeave
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/RegisterEvents
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/Base64
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/Base64Tests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/ByteBuffer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/ChunkedString
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/FileIO
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/GameStatus
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/SaveLoadData
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/Serializable
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/SyncSimple
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Angle
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/BigNum
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Bitwise
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/BitwiseInit
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/BitwiseTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Interpolation
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Maths
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Matrices
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/MatricesTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Quaternion
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/QuaternionTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Raycast
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Vectors
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/AbilityObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/BuffObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/DestructableObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ItemObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ObjEditingCommons
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ObjEditingNatives
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ObjectIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/TargetsAllowed
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/UnitObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/UpgradeObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/ChannelAbilityPreset
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/HeroPreset
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/ObjectIdGenerator
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/OrderStringFactory
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Board
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Cinematic
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Colors
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/DialogBox
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/EffectUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/GameTimer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/GroupUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Knockback3
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/MapBounds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Preloader
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Printing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/SafetyChecks
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Simulate3dSound
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/SoundUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/StandardTextTags
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/StringUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/StringUtilsTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/TerrainUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Time
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/TimerUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/UnitIndexer

# Quaternion

Source

### quat IDENTITYQ

Source

### quat ZEROQ

Source

### function quat.assertEquals(quat expected)

Source

### function quat.conj() returns quat

Source

Represents the same rotation in opposite direction.

### function quat.cross(quat q) returns quat

Source

Represents the composition of two rotations.

### function quat.dot(quat q) returns real

Source

### function eulerToQuat(real yaw, real pitch, real roll) returns quat

Source

### function quat.exp(real alpha) returns quat

Source

Quaternion to power of alpha.

### function quat.getGimbalPole() returns int

Source

Gimbal lock detection. Returns 1 for north, -1 for south, 0 if no gimbal lock.

### function quat.getX() returns vec3

Source

Extracts X-axis from a quaternion that represents rotation.

### function quat.getY() returns vec3

Source

Extracts Y-axis as a vector from a quaternion that represents rotation.

### function quat.getZ() returns vec3

Source

Extracts Z-axis as a vector from a quaternion that represents rotation.

### function quat.length() returns real

Source

### function quat.lerp(quat q, real p) returns quat

Source

Linear interpolation. q - targeted quaternion. p - progress from 0 to 1.

### function quat.lerpLong(quat q, real p) returns quat

Source

Linear interpolation. Always chooses the LONGEST way between rotations. q - targeted quaternion. p - progress from 0 to 1.

### function quat.lerpShort(quat q, real p) returns quat

Source

Linear interpolation. Always chooses the SHORTEST way between rotations. q - targeted quaternion. p - progress from 0 to 1.

### function quat.nlerp(quat q, real p) returns quat

Source

Normalized linear interpolation. q - targeted quaternion. p - progress from 0 to 1.

### function quat.nlerpLong(quat q, real p) returns quat

Source

Normalized linear interpolation. Always chooses the LONGEST way between rotations. q - targeted quaternion. p - progress from 0 to 1.

### function quat.nlerpShort(quat q, real p) returns quat

Source

Normalized linear interpolation. Always chooses the SHORTEST way between rotations. q - targeted quaternion. p - progress from 0 to 1.

### function quat.norm() returns quat

Source

Returns zero quaternion if lenght is zero.

### function quat.op_minus(quat q) returns quat

Source

### function quat.op_minus(real scalar) returns quat

Source

### function quat.op_mult(real scalar) returns quat

Source

### function real.op_mult(quat q) returns quat

Source

### function quat.op_plus(quat q) returns quat

Source

### function quat.op_plus(real scalar) returns quat

Source

### function real.op_plus(quat q) returns quat

Source

### function quat(real x, real y, real z, real w) returns quat

Source

### function vec3.rotate(quat q) returns vec3

Source

Rotates a vector by a quaternion.

### function quat.slerp(quat q, real p) returns quat

Source

Spherical linear interpolation. Interpolates between two rotations. q - targeted quaternion. p - progress from 0 to 1. Slerp is the least efficient approach in performance so try to avoid using it, unless you need constant angular velocity. Nlerp is better solution in most cases.

### function quat.slerpLong(quat q, real p) returns quat

Source

Spherical linear interpolation. Interpolates between two rotations. Always chooses the LONGEST way between rotations. q - targeted quaternion. p - progress from 0 to 1. Slerp is the least efficient approach in performance so try to avoid using it, unless you need constant angular velocity. Nlerp is better solution in most cases.

### function quat.slerpShort(quat q, real p) returns quat

Source

Spherical linear interpolation. Interpolates between two rotations. Always chooses the SHORTEST way between rotations. q - targeted quaternion. p - progress from 0 to 1. Slerp is the least efficient approach in performance so try to avoid using it, unless you need constant angular velocity. Nlerp is better solution in most cases.

### function quat.toEuler() returns vec3

Source

Extracts Euler-angles (Tait-Bryan) in radians from a quaternion. Order of the result is Z-Y-X (Yaw-Pitch-Roll).

### function quat.toMatrix() returns mat3

Source

### function vec3.toQuat(angle angl) returns quat

Source

Creates a quaternion from rotation axis and angle.

### function angle.toQuat(vec3 axis) returns quat

Source

Creates a quaternion from rotation axis and angle.

### function mat3.toQuat() returns quat

Source

Extracts quaternion from a rotation matrix.

### function quat.toString() returns string

Source