var searchIndex = {}; searchIndex["quaternion"] = {"doc":"A simple and type agnostic quaternion math library designed for reexporting","items":[[5,"id","quaternion","Constructs identity quaternion.",null,{"inputs":[],"output":{"name":"quaternion"}}],[5,"add","","Adds two quaternions.",null,{"inputs":[{"name":"quaternion"},{"name":"quaternion"}],"output":{"name":"quaternion"}}],[5,"scale","","Scales a quaternion (element-wise) by a scalar",null,{"inputs":[{"name":"quaternion"},{"name":"t"}],"output":{"name":"quaternion"}}],[5,"dot","","Dot product of two quaternions",null,{"inputs":[{"name":"quaternion"},{"name":"quaternion"}],"output":{"name":"t"}}],[5,"mul","","Multiplies two quaternions.",null,{"inputs":[{"name":"quaternion"},{"name":"quaternion"}],"output":{"name":"quaternion"}}],[5,"conj","","Takes the quaternion conjugate.",null,{"inputs":[{"name":"quaternion"}],"output":{"name":"quaternion"}}],[5,"square_len","","Computes the square length of a quaternion.",null,{"inputs":[{"name":"quaternion"}],"output":{"name":"t"}}],[5,"len","","Computes the length of a quaternion.",null,{"inputs":[{"name":"quaternion"}],"output":{"name":"t"}}],[5,"rotate_vector","","Rotate the given vector using the given quaternion",null,{"inputs":[{"name":"quaternion"},{"name":"vector3"}],"output":{"name":"vector3"}}],[5,"rotation_from_to","","Construct a quaternion representing the rotation from a to b",null,{"inputs":[{"name":"vector3"},{"name":"vector3"}],"output":{"name":"quaternion"}}],[5,"euler_angles","","Construct a quaternion representing the given euler angle rotations (in radians)",null,{"inputs":[{"name":"t"},{"name":"t"},{"name":"t"}],"output":{"name":"quaternion"}}],[5,"axis_angle","","Construct a quaternion for the given angle (in radians)\nabout the given axis.\nAxis must be a unit vector.",null,{"inputs":[{"name":"vector3"},{"name":"t"}],"output":{"name":"quaternion"}}],[6,"Quaternion","","Quaternion type alias.",null,null]],"paths":[]}; initSearch(searchIndex);