Terse public-surface index of src/ for navigation: read a file’s API without opening it. Exported classes (with public method signatures), functions, consts, and barrel re-exports. Private (_-prefixed) methods and accessors omitted. Auto-generated — regenerate with node scripts/build-api-digest.mjs. Pairs with AGENTS.md (rationale) and module-graph.json (import edges).
- class BindGroupLayout
- constructor(device, { layout, entries, names, declared, label, group })
- createBindGroup(resources = {}, { label } = {})
- fn
internBindGroupLayout(device, defs, group, entries, label, entryPoints) - fn
wrapBindGroupLayout(device, layout, defs, group, label, { empty = false, entryPoints = [] } = {}) - fn
declaredBindings(defs, group)
- class Camera extends Transform
- constructor({ near = 0.1, far = 100, fov = 45, aspect = 1, left, right, bottom, top, zoom = 1 } = {})
- perspective({ near = this.near, far = this.far, fov = this.fov, aspect = this.aspect } = {})
- orthographic({ near = this.near, far = this.far, left = this.left ?? -1, right = this.right ?? 1, bott…)
- updateMatrixWorld(force)
- updateProjectionMatrix()
- lookAt(target)
- project(v)
- unproject(v)
- updateFrustum()
- frustumIntersectsMesh(node, worldMatrix = node.worldMatrix)
- frustumIntersectsSphere(center, radius)
- getFrustumSize(z)
- class ComputeShader
- constructor(gpu, { label = '', code = ``, layout = 'auto', constants = {}, size = 0 } = {})
- build(code)
- reload(code)
- isValidKernel(key)
- findKernel(key)
- bindGroupLayout(kernel, group)
- dispatch(encoder, { pass = null, kernel, bindGroup, bindGroupIndex = 0, dispatchCount, workgroupBu…)
- destroy()
- const
TextureFormat,VertexFormat,AlphaMode,BlendFactor,BlendOperation,CompareFunction,StencilOperation,PrimitiveTopology,FrontFace,CullMode,IndexFormat,VertexStepMode,LoadOp,StoreOp,AddressMode,FilterMode,MipmapFilterMode,TextureDimension,TextureViewDimension,TextureAspect,BufferBindingType,SamplerBindingType,TextureSampleType,StorageTextureAccess,AutoLayoutMode,CanvasToneMappingMode,QueryType,PowerPreference,BufferMapState,DeviceLostReason,ErrorFilter,CompilationMessageType,PipelineErrorReason,FeatureName
- class Geometry
- constructor(gpu, { data, instancedData, interleave = false, drawBuffer = null, drawBufferOffset = 0, …)
- computeBoundingBox(attr = this._positionAttr())
- computeBoundingSphere(attr = this._positionAttr())
- destroy()
- class Mesh extends Transform
- constructor({ label = 'mesh', geometry, shader, state = NO_STATE, bindGroups = [], manualRender = fal…)
- destroy()
- onBeforeRender(f)
- onAfterRender(f)
- updateDerived(needs = NEEDS_NORMAL | NEEDS_OBJECT)
- draw({ pass, passInfo, renderer, camera, cameraOffset, bound })
- class BoundState
- constructor()
- reset()
- fn
bindPassGroups(pass, renderer, bound) - fn
drawGeometry(pass, geometry, bound)
- class PerDrawBuffer
- constructor(gpu, { label = 'per-draw-uniforms', size = 1 << 20 } = {})
- writeObject(mesh)
- writeCamera(camera, width, height)
- writeTime(time, delta)
- flush()
- release(mesh)
- reset()
- destroy()
- const
CAMERA_SIZE,OBJECT_SIZE,TIME_SIZE,TIME_BINDING_SIZE
- class PipelineRegistry
- constructor(gpu)
- get(mesh, passInfo)
- key(mesh, passInfo)
- descriptor(mesh, passInfo)
- passInfo(colorFormats, depthFormat, sampleCount)
- compileAsync(mesh, passInfo)
- clear()
- describe(mesh, passInfo, s = resolveState(mesh.state))
- fn
resolveState(state)
- class RenderBundleGroup extends Transform
- constructor({ label = 'render-bundle-group' } = {})
- record()
- class RenderPipeline
- constructor(gpu, { label = 'rendering', code = ``, vertexBuffers = [], targets, depthTest = true, dep…)
- build(code)
- bindGroupLayout(groupIndex = 0)
- reload(code)
- destroy()
- class RenderTarget
- constructor(gpu, { width = 1280, height = 720, depth = 1, format = TextureFormat.BGRA8UNORM, dimensio…)
- createTextures()
- createDepthTexture()
- createView(i = 0)
- depthView()
- getTargets()
- destroy()
- onResize({ width = this.width, height = this.height, depth = this.depth } = {})
- class Renderer
- constructor({ canvas = null, dpr = null, transparent = false, depth = true, perDrawSize = 1 << 20 } =…)
- initDevice()
- init(device)
- createDepthTexture()
- addHandlers()
- addResizeHandler(cb)
- add(f)
- remove(f)
- addDeviceLostHandler(cb)
- addDeviceRestoredHandler(cb)
- addErrorHandler(cb)
- addBootProgressHandler(cb)
- addBootCompleteHandler(cb)
- forceDeviceLoss()
- destroy()
- setClearColor({ r = 0, g = 0, b = 0, a = this.transparent ? 0 : 1 } = {})
- trackCompile(promise)
- updateClock(time = 0)
- sortOpaque(a, b)
- sortTransparent(a, b)
- sortUI(a, b)
- getRenderQueue({ scene, camera, sort = true, frustumCull = true } = {})
- setContext(canvas = null, options)
- contextFor(canvas, { transparent, format } = {})
- compile({ scene, target = null } = {})
- render({ scene, camera, target = null, loadOp = 'clear', storeOp = 'store', depthLoadOp = 'clear…)
- resolveScissor(node, targetWidth, targetHeight, out = {})
- class Shader
- constructor(gpu, { label = 'shader', code, constants = {} } = {})
- build(code)
- bindGroupLayout(group = 0)
- reload(code)
- destroy()
- const
ENGINE_GROUP,TIME_GROUP,NEEDS_NORMAL,NEEDS_OBJECT
- fn
registerShader(instance)
- class Texture
- constructor(gpu, { width = 2, height = 2, depth = 1, data = null, format = 'rgba8unorm', dimension = …)
- update({ width = 2, height = 2, depth = 1, data, format = 'rgba8unorm', dimension = '2d', usage …)
- createView()
- destroy()
- class Transform
- constructor()
- setParent(parent, notifyParent = true)
- addChild(child, notifyChild = true)
- removeChild(child, notifyChild = true)
- updateMatrixWorld(force)
- updateMatrix()
- traverse(callback)
- lookAt(target, invert)
- decompose()
- setRotation(quaternion)
- rotateX(angle)
- rotateY(angle)
- rotateZ(angle)
- getEuler(out = new Euler())
- class UniformBuffer
- constructor(gpu, struct, values, { label = 'uniforms', usage = 0 } = {})
- set(values)
- upload()
- destroy()
- re-export { Renderer } from './Renderer.js'
- re-export { Transform } from './Transform.js'
- re-export { Camera } from './Camera.js'
- re-export { Mesh } from './Mesh.js'
- re-export { RenderBundleGroup } from './RenderBundleGroup.js'
- re-export { Geometry } from './Geometry.js'
- re-export { Box, Sphere, Plane, Torus, Cylinder, Disc, Cone, Quad, FullscreenTriangle } from './primitives/index.js'
- re-export { Shader } from './Shader.js'
- re-export { BindGroupLayout } from './BindGroupLayout.js'
- re-export { UniformBuffer } from './UniformBuffer.js'
- re-export { PipelineRegistry } from './PipelineRegistry.js'
- re-export { RenderPipeline } from './RenderPipeline.js'
- re-export { PerDrawBuffer } from './PerDrawBuffer.js'
- re-export { ComputeShader } from './ComputeShader.js'
- re-export { Texture } from './Texture.js'
- re-export { RenderTarget } from './RenderTarget.js'
- re-export { Skin } from './skin/Skin.js'
- re-export * from './GPUEnums.js'
- re-export { StructView, makeStructuredView, reflect } from './reflect/index.js'
- class Box extends Geometry
- constructor(gpu, { instancedData, interleave, ...opts } = {})
- class Cone extends Geometry
- constructor(gpu, { instancedData, interleave, ...opts } = {})
- class Cylinder extends Geometry
- constructor(gpu, { instancedData, interleave, ...opts } = {})
- class Disc extends Geometry
- constructor(gpu, { instancedData, interleave, ...opts } = {})
- class FullscreenTriangle extends Geometry
- constructor(gpu, { instancedData, interleave } = {})
- class Plane extends Geometry
- constructor(gpu, { instancedData, interleave, ...opts } = {})
- class Quad extends Geometry
- constructor(gpu, { instancedData, interleave, ...opts } = {})
- class Sphere extends Geometry
- constructor(gpu, { instancedData, interleave, ...opts } = {})
- class Torus extends Geometry
- constructor(gpu, { instancedData, interleave, ...opts } = {})
- re-export { Box } from './Box.js'
- re-export { Sphere } from './Sphere.js'
- re-export { Plane } from './Plane.js'
- re-export { Torus } from './Torus.js'
- re-export { Cylinder } from './Cylinder.js'
- re-export { Disc } from './Disc.js'
- re-export { Cone } from './Cone.js'
- re-export { Quad } from './Quad.js'
- re-export { FullscreenTriangle } from './FullscreenTriangle.js'
- const
primitives - re-export { createCubeVertices, createCylinderVertices, createDiscVertices, createPlaneVertices, createSphereVertices, createTorusVertices, createTruncatedConeVertices, createXYQuadVertices } = wguPrimitives
- class StructView
- constructor(def, arrayBuffer, byteOffset = 0)
- set(data)
- fn
setStructuredView(data, views) - fn
makeStructuredView(def, arrayBuffer, byteOffset = 0)
- re-export { reflect } from './reflect.js'
- re-export { StructView, makeStructuredView, setStructuredView } from './StructView.js'
- re-export { bindGroupLayoutDescriptors } from './layout.js'
- fn
bindGroupLayoutDescriptors(defs, entryPoints, { skip = [] } = {})
- fn
reflect(code)
- class Skin
- constructor(gpu, { label = 'skin', data } = {})
- initBones()
- createGeometryBuffer(name, size, data)
- initSkinning()
- addAnimation(animation)
- getAnimation(label)
- applyAnimations()
- updateBones()
- update(dt = 0, encoder = null)
- class Animation
- constructor({ transforms = [], label = 'animation', data = [], loop = true } = {})
- fps(value)
- update(totalWeight = 1, isSet = false)
- class CubeMap
- constructor(gpu, { src = [], mips = false, flipY = false, usage = GPUTextureUsage.TEXTURE_BINDING | G…)
- destroy()
- class GLTFLoader
- constructor(gpu, { code, iblEntries = [], // override constants baked into the shader (e.g. roughness…)
- load(url)
- getSkinData(meshOrIndex = 0)
- getSkinnedMesh({ code, ibl, mesh = 0, animation = 0, fps = 30, label = 'skinned', material = {} } = {})
- getGeometryData(meshOrIndex = 0)
- getGeometry(meshOrIndex = 0)
- getAnimation({ animation = 0, skin = 0, fps = 30 } = {})
- getMaterialTexture(materialIndex = 0, map = 'baseColor')
- class GUI
- constructor({ title = 'OGPU', expanded = false, container, pane } = {})
- add(obj, key, opts = {})
- monitor(obj, key, opts = {})
- button(title, onClick)
- folder(title, { expanded = true } = {})
- uniform(target, key, opts = {})
- dispose()
- class KTXTexture extends Texture
- constructor(gpu, { src, usage = GPUTextureUsage.TEXTURE_BINDING | GPUTextureUsage.COPY_DST, label = '…)
- fn
Orbit(object, { element = document, enabled = true, target = new Vec3(0, 0, 0), ease = 0.25, in…)
- class Raycast
- constructor()
- castMouse(camera, mouse = [0, 0])
- intersectBounds(meshes, { maxDistance, output = [] } = {})
- intersectMeshes(meshes, { cullFace = true, maxDistance, includeUV = true, includeNormal = true, output = …)
- intersectPlane(plane, origin = this.origin, direction = this.direction, out = null)
- intersectSphere(sphere, origin = this.origin, direction = this.direction)
- intersectBox(box, origin = this.origin, direction = this.direction)
- intersectTriangle(a, b, c, backfaceCulling = true, origin = this.origin, direction = this.direction, normal…)
- getBarycoord(point, a, b, c, target = tempVec3h)
- class VideoTexture
- constructor(gpu, { video, format = TextureFormat.RGBA8UNORM, label = '', autoStart = true, flipY = fa…)
- start()
- stop()
- createView()
- destroy()
- class GaussianSplat extends Mesh
- constructor(gpu, { data, code = defaultShaderCode, sortMethod = 'radix', sortMode = 'gpu', workgroupS…)
- setWorkgroupSize(size)
- destroy()
- sort(camera, { encoder = null } = {})
- sortSliced(camera, dirty = true, { encoder = null } = {})
- fn
loadSplat(src, { type } = {})
- fn
decodePly(buffer)
- fn
decodeSog(buffer, opts = {}) - fn
decodeSogUnbundled(metaUrl)
- fn
decodeSplat(buffer)
- fn
decodeSpz(buffer)
- class MSDFFont
- constructor(gpu, { json, image, label = 'msdf-font' })
- glyph(cp)
- kerning(a, b)
- destroy()
- class MSDFText extends Mesh
- constructor(gpu, { font, text = '', size = 1, width = Infinity, lineHeight, letterSpacing = 0, align …)
- setText(text, options = {})
- animate(preset, overrides = {})
- seek(time)
- play()
- reverse()
- update(dt)
- draw(args)
- destroy()
- re-export { MSDFFont } from './MSDFFont.js'
- re-export { MSDFText } from './MSDFText.js'
- re-export { TEXT_PRESETS } from './presets.js'
- re-export { layoutText } from './layout.js'
- fn
layoutText(font, text, { size = 1, width = Infinity, lineHeight = font.metrics.lineHeight, letterSpa…)
- const
TEXT_PRESETS
- fn
createStorageBuffer(gpu, { label = 'storage buffer', size = null, usage = GPUBufferUsage.COPY_DST | GPUBuffer…) - fn
createUniformBuffer(gpu, { label = 'uniform buffer', size = null, usage = GPUBufferUsage.COPY_DST } = {}) - fn
createBuffer(gpu, { label = 'buffer', size = null, usage = GPUBufferUsage.COPY_DST | GPUBufferUsage.CO…)
- fn
fromRotationMatrix(m, order = 'YXZ', out)
- fn
loadIBLCubeMap(gpu, { url, faceSize = DEFAULT_FACE_SIZE, mipLevels = null, label = 'IBL cube' } = {}) - fn
loadSphericalHarmonics(url) - fn
createBrdfLUT(gpu, { size = 512, label = 'brdflut' } = {})
- fn
loadJSON(url, opts) - fn
loadJSONAll(urls, opts)
- fn
adjugate(m, dstMat)
- fn
compose(dstMat, srcRotation, srcTranslation, srcScale) - fn
decompose(srcMat, dstRotation, dstTranslation, dstScale)
- fn
blit(encoder, { pipeline, geometry, targetView, depthView, bindGroup, clear = true, label } = …)
- class TimingHelper
- constructor(device)
- beginRenderPass(encoder, descriptor = {})
- beginComputePass(encoder, descriptor = {})
- getResult()
- class Float16Stub extends Uint16Array
- const
float16Shimmed
- fn
formatBlockInfo(format) - fn
parseKTXHeader(u8) - fn
vkFormatToWebGPU(fmt) - fn
glFormatToWebGPU(fmt)
- fn
generateMipmap(gpu, texture) - re-export { numMipLevels }
- class NonNegativeRollingAverage
- constructor(numSamples = 30)
- addSample(v)
- get()
- fn
createTextureFromSources(gpu, sources, options = {}) - fn
createTextureFromSource(gpu, source, options = {}) - fn
createTextureFromImages(gpu, urls, options = {}) - fn
createTextureFromImage(gpu, url, options = {})
- fn
getPromise()
- re-export * from 'webgpu-utils'
- fn
applyOverrideConstants(code, constants = {})
- class Loader
- constructor(renderer, { el = '#ogpu-loader' } = {})
- class ComputeFrustumCulling
- constructor()
- init()
- cameraPath(vec, time, y)
- class CubeMapExample
- constructor()
- init()
- class FeedbackTrails
- constructor()
- init()
- initScene()
- initFeedback()
- allocFeedbackTextures(w, h)
- buildBindGroups()
- class FrustumCulling
- constructor()
- init()
- cameraPath(vec, time, y)
- class GLTF
- constructor(canvas)
- init(canvas)
- initIBL({ url = './assets/pbr/artistworkshop_oct.exr', shUrl = './assets/pbr/artistworkshop_sh.js…)
- class BoxMesh extends Transform
- constructor(gpu)
- class HelloWebGPU
- constructor()
- init()
- class HighMeshCount
- constructor()
- init()
- setMeshCount(count)
- setMode(mode)
- class Instancing
- constructor()
- init()
- class InstancingPicking
- constructor()
- init()
- class KTX
- constructor()
- init()
- addInfo(text)
- class MSAA
- constructor()
- init()
- buildTarget(sampleCount)
- initDisplay()
- displayBindGroup()
- bindDisplay()
- class MSDFTextExample
- constructor()
- init()
- initGUI()
- presetParams(name)
- replay()
- class MultiCanvas
- constructor()
- init()
- addCell({ label, geometry: makeGeometry, cullMode = 'back' }, canvas)
- class OrbitControls
- constructor()
- init()
- addCredit()
- class Particles
- constructor()
- init()
- class PBRShader
- constructor({ el = null } = {})
- init(el)
- initTestScene()
- loadTexture(url)
- swizzleRMO(url)
- addCarPart(jsonUrl, maps, { transparent = false } = {})
- addShadowFloor()
- initProbes(ibl)
- initIBL({ url = './assets/pbr/artistworkshop_oct.exr', shUrl = './assets/pbr/artistworkshop_sh.js…)
- solidTexture(rgba, label)
- initPane()
- class Primitives
- constructor()
- init()
- class Raycasting
- constructor()
- init()
- class RenderBundle
- constructor()
- init()
- setMode(mode)
- class RenderToTexture
- constructor({ el = null } = {})
- init(el)
- initDisplay()
- buildDisplayBindGroup()
- initTestScene()
- class SceneGraph
- constructor()
- init()
- class Shadowmapping
- constructor({ el = null } = {})
- init(el)
- class Skinning
- constructor(canvas)
- init(canvas)
- addCredit(html)
- class SkinningGLTF
- constructor(canvas)
- init(canvas)
- initIBL({ url = './assets/pbr/artistworkshop_oct.exr', shUrl = './assets/pbr/artistworkshop_sh.js…)
- solidTexture(rgba, label)
- addCredit(html)
- class SortTransparency
- constructor()
- init()
- class Textures
- constructor()
- init()
- class Triangle
- constructor()
- init()
- re-export * from './core/index.js'
- re-export * from './math/index.js'
- re-export { Orbit } from './modules/Orbit.js'
- re-export { Raycast } from './modules/Raycast.js'
- re-export { GUI } from './modules/GUI.js'
- re-export { Animation } from './modules/Animation.js'
- re-export { GLTFLoader } from './modules/GLTFLoader.js'
- re-export { CubeMap } from './modules/CubeMap.js'
- re-export { VideoTexture } from './modules/VideoTexture.js'
- re-export { KTXTexture } from './modules/KTXTexture.js'
- re-export { GaussianSplat } from './modules/gsplat/GaussianSplat.js'
- re-export { loadSplat } from './modules/gsplat/SplatLoader.js'
- re-export { MSDFFont, MSDFText, TEXT_PRESETS, layoutText } from './modules/text/index.js'
- re-export { createStorageBuffer, createUniformBuffer, createBuffer } from './utils/BufferUtils.js'
- re-export { blit } from './utils/RenderUtils.js'
- re-export { loadJSON, loadJSONAll } from './utils/JSONLoader.js'
- re-export { loadIBLCubeMap, loadSphericalHarmonics, createBrdfLUT } from './utils/IBLUtils/IBLUtils.js'
- re-export { TimingHelper } from './utils/TimingHelper.js'
- re-export { applyOverrideConstants } from './utils/wgslOverrides.js'
- class Color extends Float32Array
- constructor(r, g, b)
- set(r, g, b)
- setHex(hex)
- copy(c)
- clone()
- fromArray(a, o = 0)
- toArray(a = [], o = 0)
- class Euler extends Float32Array
- constructor(x = 0, y = 0, z = 0, order = 'YXZ')
- set(x, y, z, order = this.order)
- copy(e)
- clone()
- setFromRotationMatrix(m, order = this.order)
- setFromQuaternion(q, order = this.order)
- reorder(order)
- fromArray(a, o = 0)
- toArray(a = [], o = 0)
- class Mat3 extends Float32Array
- constructor()
- set(...values)
- copy(m)
- clone()
- identity()
- multiply(m)
- invert()
- transpose()
- fromMat4(m)
- fromNormalMatrix(m)
- fromQuat(q)
- fromArray(a, o = 0)
- toArray(a = [], o = 0)
- class Mat4 extends Float32Array
- constructor()
- set(...values)
- copy(m)
- clone()
- identity()
- multiply(m)
- premultiply(m)
- invert()
- transpose()
- fromQuat(q)
- compose(position, quaternion, scale)
- decompose(position, quaternion, scale)
- scale(v)
- translate(v)
- rotateX(angle)
- rotateY(angle)
- rotateZ(angle)
- perspective(fovy, aspect, near, far)
- ortho(left, right, bottom, top, near, far)
- lookAt(eye, target, up)
- aim(eye, target, up)
- determinant()
- getTranslation(out)
- getScale(out)
- getRotation(out)
- getAxis(axis, out)
- getMaxScaleOnAxis()
- fromArray(a, o = 0)
- toArray(a = [], o = 0)
- inverse()
- fromQuaternion(q)
- class Quat extends Float32Array
- constructor(x = 0, y = 0, z = 0, w = 1)
- set(x, y, z, w)
- copy(q)
- clone()
- identity()
- setFromEuler(x, y, z, order = 'xyz')
- setFromAxisAngle(axis, angle)
- setFromRotationMatrix(m)
- setFromUnitVectors(from, to)
- multiply(q)
- premultiply(q)
- rotateX(angle)
- rotateY(angle)
- rotateZ(angle)
- slerp(q, t)
- invert()
- conjugate()
- normalize()
- dot(q)
- len()
- equals(q)
- fromArray(a, o = 0)
- toArray(a = [], o = 0)
- fromEuler(x, y, z, order = 'xyz')
- fromAxisAngle(axis, angle)
- inverse()
- class Vec2 extends Float32Array
- constructor(x = 0, y = 0)
- set(x, y)
- copy(v)
- clone()
- add(v)
- sub(v)
- multiply(v)
- scale(s)
- multiplyScalar(s)
- negate()
- normalize()
- lerp(v, t)
- dot(v)
- len()
- lenSq()
- distance(v)
- equals(v)
- fromArray(a, o = 0)
- toArray(a = [], o = 0)
- squaredLen()
- class Vec3 extends Float32Array
- constructor(x = 0, y = 0, z = 0)
- set(x, y, z)
- copy(v)
- clone()
- add(v)
- sub(v)
- multiply(v)
- scale(s)
- multiplyScalar(s)
- addScaled(v, s)
- negate()
- normalize()
- lerp(v, t)
- smoothLerp(v, decay, dt)
- divide(v)
- angle(v)
- cross(v)
- min(v)
- max(v)
- applyMat4(m)
- applyMat3(m)
- applyQuat(q)
- scaleRotateMat4(m)
- transformDirection(m)
- dot(v)
- len()
- lenSq()
- distance(v)
- distanceSq(v)
- equals(v)
- fromArray(a, o = 0)
- toArray(a = [], o = 0)
- applyMatrix4(m)
- applyMatrix3(m)
- applyQuaternion(q)
- scaleRotateMatrix4(m)
- squaredLen()
- squaredDistance(v)
- class Vec4 extends Float32Array
- constructor(x = 0, y = 0, z = 0, w = 0)
- set(x, y, z, w)
- copy(v)
- clone()
- add(v)
- sub(v)
- multiply(v)
- scale(s)
- multiplyScalar(s)
- addScaled(v, s)
- negate()
- normalize()
- lerp(v, t)
- min(v)
- max(v)
- applyMat4(m)
- dot(v)
- len()
- lenSq()
- distance(v)
- distanceSq(v)
- equals(v)
- fromArray(a, o = 0)
- toArray(a = [], o = 0)
- applyMatrix4(m)
- squaredLen()
- squaredDistance(v)
- re-export { copy, fromMat4, identity, inverse, multiply, set, transpose } = mat3
- fn
inverse(m, out) - fn
lookAt(eye, target, up, out) - fn
aim(position, target, up, out) - re-export { copy, determinant, fromQuat, getAxis, getScaling, getTranslation, identity, multiply, ortho, perspective, rotateX, rotateY, rotateZ, scale, translate, transpose } = mat4
- fn
rotationTo(a, b, out) - re-export { conjugate, dot, fromAxisAngle, fromEuler, fromMat, identity, inverse, length, mul, normalize, rotateX, rotateY, rotateZ, slerp } = quat
- re-export { add, distance, dot, length, lengthSq, lerp, multiply, negate, normalize, scale, subtract } = vec2
- re-export { add, addScaled, angle, cross, distance, distanceSq, divide, dot, length, lengthSq, lerp, max, min, multiply, negate, normalize, scale, subtract, transformMat3, transformMat4, transformMat4Upper3x3, transformQuat } = vec3
- re-export { add, addScaled, distance, distanceSq, dot, length, lengthSq, lerp, max, min, multiply, negate, normalize, scale, subtract, transformMat4 } = vec4
- re-export { Vec2 } from './Vec2'
- re-export { Vec3 } from './Vec3'
- re-export { Vec4 } from './Vec4'
- re-export { Quat } from './Quat'
- re-export { Mat3 } from './Mat3'
- re-export { Mat4 } from './Mat4'
- re-export { Euler } from './Euler'
- re-export { Color } from './Color'
- re-export { vec2, vec3, vec4, quat, mat3, mat4 } from './functions'