The glaw Reference Manual

This is the glaw Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Wed May 15 05:26:04 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 glaw

Game programming utilities

Author

Morgan Veyret

License

MIT

Dependencies
  • cl-opengl (system).
  • cl-openal (system).
  • cl-alc (system).
Source

glaw.asd.

Child Component

src (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 glaw/src

Source

glaw.asd.

Parent Component

glaw (system).

Child Components

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


4.1 Lisp


4.1.1 glaw/glaw.asd

Source

glaw.asd.

Parent Component

glaw (system).

ASDF Systems

glaw.


4.1.2 glaw/src/package.lisp

Source

glaw.asd.

Parent Component

src (module).

Packages

glaw.


4.1.3 glaw/src/utils.lisp

Dependency

package.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.4 glaw/src/math.lisp

Dependency

utils.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.5 glaw/src/resource.lisp

Dependency

math.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.6 glaw/src/assets.lisp

Dependency

resource.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.7 glaw/src/input.lisp

Dependency

assets.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.8 glaw/src/stats.lisp

Dependency

input.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.9 glaw/src/graphics.lisp

Dependency

stats.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.10 glaw/src/shape.lisp

Dependency

graphics.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.11 glaw/src/bbox.lisp

Dependency

shape.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.12 glaw/src/anim.lisp

Dependency

bbox.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.13 glaw/src/view.lisp

Dependency

anim.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.14 glaw/src/2d.lisp

Dependency

view.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.15 glaw/src/3d.lisp

Dependency

2d.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Internals

4.1.16 glaw/src/font.lisp

Dependency

3d.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.17 glaw/src/gui.lisp

Dependency

font.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.18 glaw/src/particles.lisp

Dependency

gui.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.19 glaw/src/screen.lisp

Dependency

particles.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.20 glaw/src/scheduler.lisp

Dependency

screen.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.21 glaw/src/navmesh.lisp

Dependency

scheduler.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.22 glaw/src/skeleton.lisp

Dependency

navmesh.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Internals

4.1.23 glaw/src/sound.lisp

Dependency

skeleton.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.24 glaw/src/console.lisp

Dependency

sound.lisp (file).

Source

glaw.asd.

Parent Component

src (module).

Internals

5 Packages

Packages are listed by definition order.


5.1 glaw

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


6.1 Public Interface


6.1.1 Constants

Constant: +frame-timer-grapher-all-time-fps+
Package

glaw.

Source

stats.lisp.

Constant: +frame-timer-grapher-all-time-frame-time+
Package

glaw.

Source

stats.lisp.

Constant: +frame-timer-grapher-avg-fps+
Package

glaw.

Source

stats.lisp.

Constant: +frame-timer-grapher-avg-frame-time+
Package

glaw.

Source

stats.lisp.

Constant: +frame-timer-grapher-instant-fps+
Package

glaw.

Source

stats.lisp.

Constant: +frame-timer-grapher-instant-frame-time+
Package

glaw.

Source

stats.lisp.

Constant: +matrix-identity+
Package

glaw.

Source

math.lisp.

Constant: +x-axis+
Package

glaw.

Source

math.lisp.

Constant: +y-axis+
Package

glaw.

Source

math.lisp.

Constant: +z-axis+
Package

glaw.

Source

math.lisp.


6.1.2 Special variables

Special Variable: *display-height*
Package

glaw.

Source

graphics.lisp.

Special Variable: *display-width*
Package

glaw.

Source

graphics.lisp.

Special Variable: *mouse-x*
Package

glaw.

Source

input.lisp.

Special Variable: *mouse-y*
Package

glaw.

Source

input.lisp.


6.1.3 Macros

Macro: button-handler (class device (btn btn-state) &body body)
Package

glaw.

Source

input.lisp.

Macro: format-at (x y fnt fmt &rest values)
Package

glaw.

Source

font.lisp.

Macro: input-handler (class input &body body)
Package

glaw.

Source

input.lisp.

Macro: key-handler (class (keysym key-state) &body body)
Package

glaw.

Source

input.lisp.

Macro: motion-handler (class device (dx-sym dy-sym) &body body)
Package

glaw.

Source

input.lisp.

Macro: use-resource (id &optional res finalizer)

Use or create a resource designated by ID.
Resource creation occurs iff ID doesn’t already exist in %RESOURCE-MANAGER%
and requires RES to be specified. FINALIZER is optional but if provided should be a function taking the resource to finalize as its only argument.

Package

glaw.

Source

resource.lisp.

Macro: with-2d-coords-from-screen (((x-sym x-val) (y-sym y-val)) to-view &body body)
Package

glaw.

Source

view.lisp.

Macro: with-2d-coords-to-screen (((x-sym x-val) (y-sym y-val)) from-view &body body)
Package

glaw.

Source

view.lisp.

Macro: with-2d-screen-deltas (((x-sym x-val) (y-sym y-val)) to-view &body body)
Package

glaw.

Source

view.lisp.

Macro: with-2d-view-coords (((x-sym x-val) (y-sym y-val)) from-view to-view &body body)
Package

glaw.

Source

view.lisp.

Macro: with-2d-view-deltas (((x-sym x-val) (y-sym y-val)) from-view to-view &body body)
Package

glaw.

Source

view.lisp.

Macro: with-frame-timer (timer &body body)
Package

glaw.

Source

stats.lisp.

Macro: with-fullscreen-view-2d (&body body)
Package

glaw.

Source

view.lisp.

Macro: with-resource-manager (mgr &body body)

Bind MGR as the current resource manager.

Package

glaw.

Source

resource.lisp.

Macro: with-resources (resources &body body)
Package

glaw.

Source

resource.lisp.

Macro: with-timestep ((real expected) &body body)
Package

glaw.

Source

scheduler.lisp.


6.1.4 Setf expanders

Setf Expander: (setf 3d-view-far) (v)
Package

glaw.

Source

view.lisp.

Reader

3d-view-far (function).

Writer

3d-view-set-far (function).

Setf Expander: (setf 3d-view-fov) (v)
Package

glaw.

Source

view.lisp.

Reader

3d-view-fov (function).

Writer

3d-view-set-fov (function).

Setf Expander: (setf 3d-view-near) (v)
Package

glaw.

Source

view.lisp.

Reader

3d-view-near (function).

Writer

3d-view-set-near (function).

Setf Expander: (setf 3d-view-position) (v)
Package

glaw.

Source

view.lisp.

Reader

3d-view-position (function).

Writer

3d-view-set-position (function).

Setf Expander: (setf 3d-view-ratio) (v)
Package

glaw.

Source

view.lisp.

Reader

3d-view-ratio (function).

Writer

3d-view-set-ratio (function).

Setf Expander: (setf basis-local-x) (basis)
Package

glaw.

Source

math.lisp.

Reader

basis-local-x (function).

Writer

basis-set-local-x (function).

Setf Expander: (setf basis-local-y) (basis)
Package

glaw.

Source

math.lisp.

Reader

basis-local-y (function).

Writer

basis-set-local-y (function).

Setf Expander: (setf basis-local-z) (basis)
Package

glaw.

Source

math.lisp.

Reader

basis-local-z (function).

Writer

basis-set-local-z (function).

Setf Expander: (setf basis-position) (basis)
Package

glaw.

Source

math.lisp.

Reader

basis-position (function).

Writer

basis-set-position (function).

Setf Expander: (setf basis-xyz-orientation) (basis)
Package

glaw.

Source

math.lisp.

Reader

basis-xyz-orientation (function).

Writer

basis-set-xyz-orientation (function).

Setf Expander: (setf basis-zyx-orientation) (basis)
Package

glaw.

Source

math.lisp.

Reader

basis-zyx-orientation (function).

Writer

basis-set-zyx-orientation (function).

Setf Expander: (setf channel-volume) (chan)
Package

glaw.

Source

sound.lisp.

Reader

channel-volume (function).

Writer

set-channel-volume (function).

Setf Expander: (setf perspective-fov) (p)
Package

glaw.

Source

math.lisp.

Reader

perspective-fov (reader).

Writer

perspective-set-fov (function).

Setf Expander: (setf perspective-ratio) (p)
Package

glaw.

Source

math.lisp.

Reader

perspective-ratio (reader).

Writer

perspective-set-ratio (function).


6.1.5 Ordinary functions

Reader: 2d-view-bottom (instance)
Writer: (setf 2d-view-bottom) (instance)
Package

glaw.

Source

view.lisp.

Target Slot

bottom.

Function: 2d-view-height (view)
Package

glaw.

Source

view.lisp.

Reader: 2d-view-left (instance)
Writer: (setf 2d-view-left) (instance)
Package

glaw.

Source

view.lisp.

Target Slot

left.

Reader: 2d-view-right (instance)
Writer: (setf 2d-view-right) (instance)
Package

glaw.

Source

view.lisp.

Target Slot

right.

Reader: 2d-view-top (instance)
Writer: (setf 2d-view-top) (instance)
Package

glaw.

Source

view.lisp.

Target Slot

top.

Function: 2d-view-width (view)
Package

glaw.

Source

view.lisp.

Reader: 2d-view-zoom (instance)
Writer: (setf 2d-view-zoom) (instance)
Package

glaw.

Source

view.lisp.

Target Slot

zoom.

Function: 3d-view-far (v)
Package

glaw.

Source

view.lisp.

Setf expander for this function

(setf 3d-view-far).

Function: 3d-view-fov (v)
Package

glaw.

Source

view.lisp.

Setf expander for this function

(setf 3d-view-fov).

Function: 3d-view-look-at (v eye target)
Package

glaw.

Source

view.lisp.

Function: 3d-view-near (v)
Package

glaw.

Source

view.lisp.

Setf expander for this function

(setf 3d-view-near).

Function: 3d-view-orientation (v)
Package

glaw.

Source

view.lisp.

Function: 3d-view-pitch (v dpitch)
Package

glaw.

Source

view.lisp.

Function: 3d-view-point-at (v target)
Package

glaw.

Source

view.lisp.

Function: 3d-view-position (v)
Package

glaw.

Source

view.lisp.

Setf expander for this function

(setf 3d-view-position).

Function: 3d-view-ratio (v)
Package

glaw.

Source

view.lisp.

Setf expander for this function

(setf 3d-view-ratio).

Function: 3d-view-roll (v droll)
Package

glaw.

Source

view.lisp.

Function: 3d-view-side (view)
Package

glaw.

Source

view.lisp.

Function: 3d-view-translate (v dx dy dz)
Package

glaw.

Source

view.lisp.

Function: 3d-view-up (view)
Package

glaw.

Source

view.lisp.

Function: 3d-view-yaw (v dyaw)
Package

glaw.

Source

view.lisp.

Function: add-input-handler (handler)
Package

glaw.

Source

input.lisp.

Function: alias-resource (res-id alias-id)
Package

glaw.

Source

resource.lisp.

Function: anim-state-apply (state obj)
Package

glaw.

Source

anim.lisp.

Function: anim-state-update (state dt)
Package

glaw.

Source

anim.lisp.

Function: avg-fps ()
Package

glaw.

Source

stats.lisp.

Function: avg-frame-time ()
Package

glaw.

Source

stats.lisp.

Function: avg-max-fps ()
Package

glaw.

Source

stats.lisp.

Function: avg-min-fps ()
Package

glaw.

Source

stats.lisp.

Function: basis-axis-angle (basis)
Package

glaw.

Source

math.lisp.

Function: basis-cancel-rotation (basis)
Package

glaw.

Source

math.lisp.

Function: basis-local-x (basis)
Package

glaw.

Source

math.lisp.

Setf expander for this function

(setf basis-local-x).

Function: basis-local-y (basis)
Package

glaw.

Source

math.lisp.

Setf expander for this function

(setf basis-local-y).

Function: basis-local-z (basis)
Package

glaw.

Source

math.lisp.

Setf expander for this function

(setf basis-local-z).

Function: basis-pitch (basis dpitch)
Package

glaw.

Source

math.lisp.

Function: basis-position (basis)
Package

glaw.

Source

math.lisp.

Setf expander for this function

(setf basis-position).

Function: basis-roll (basis droll)
Package

glaw.

Source

math.lisp.

Function: basis-translate (basis dx dy dz)
Package

glaw.

Source

math.lisp.

Function: basis-xyz-orientation (basis)
Package

glaw.

Source

math.lisp.

Setf expander for this function

(setf basis-xyz-orientation).

Function: basis-yaw (basis dyaw)
Package

glaw.

Source

math.lisp.

Function: basis-zyx-orientation (basis)
Package

glaw.

Source

math.lisp.

Setf expander for this function

(setf basis-zyx-orientation).

Function: bbox-inside-p (bbox x y &optional z)
Package

glaw.

Source

bbox.lisp.

Function: bbox-intersect-p (bbox-1 bbox-2)
Package

glaw.

Source

bbox.lisp.

Function: bbox-invalidate (bbox)
Package

glaw.

Source

bbox.lisp.

Function: bbox-overwrite/shape (bbox shape)
Package

glaw.

Source

bbox.lisp.

Function: bbox-translate (bbox dx dy &optional dz)
Package

glaw.

Source

bbox.lisp.

Function: bbox-update (bbox x y &optional z)
Package

glaw.

Source

bbox.lisp.

Function: bbox-update/shape (bbox shape)
Package

glaw.

Source

bbox.lisp.

Function: bbox-visible-p (bbox view)
Package

glaw.

Source

bbox.lisp.

Reader: bbox-x-max (instance)
Writer: (setf bbox-x-max) (instance)
Package

glaw.

Source

bbox.lisp.

Target Slot

x-max.

Reader: bbox-x-min (instance)
Writer: (setf bbox-x-min) (instance)
Package

glaw.

Source

bbox.lisp.

Target Slot

x-min.

Reader: bbox-y-max (instance)
Writer: (setf bbox-y-max) (instance)
Package

glaw.

Source

bbox.lisp.

Target Slot

y-max.

Reader: bbox-y-min (instance)
Writer: (setf bbox-y-min) (instance)
Package

glaw.

Source

bbox.lisp.

Target Slot

y-min.

Function: begin-draw ()
Package

glaw.

Source

graphics.lisp.

Function: cancel-timer (timer)
Package

glaw.

Source

scheduler.lisp.

Function: channel-volume (chan)
Package

glaw.

Source

sound.lisp.

Setf expander for this function

(setf channel-volume).

Function: char-width (fnt char)
Package

glaw.

Source

font.lisp.

Function: clear-display (&rest buffers)
Package

glaw.

Source

graphics.lisp.

Function: clear-input-handlers ()
Package

glaw.

Source

input.lisp.

Function: color-copy (src dest)
Package

glaw.

Source

graphics.lisp.

Function: connect-grid-navmesh (nv cell-size)

Make bi-directional connections between all cells of a complete grid navmesh.

Package

glaw.

Source

navmesh.lisp.

Function: coords-overlap-p (a b c d)
Package

glaw.

Source

utils.lisp.

Function: create-2d-view (x y width height)
Package

glaw.

Source

view.lisp.

Function: create-bbox-from-shape (shape)
Package

glaw.

Source

bbox.lisp.

Function: create-box-shape (size-x size-y size-z)
Package

glaw.

Source

shape.lisp.

Function: create-circle-shape (x y radius &key resolution filled)
Package

glaw.

Source

shape.lisp.

Function: create-color (r g b &optional a)
Package

glaw.

Source

graphics.lisp.

Function: create-color-gradient (start-r start-g start-b start-a end-r end-g end-b end-a)
Package

glaw.

Source

graphics.lisp.

Function: create-cross-shape (x y size)
Package

glaw.

Source

shape.lisp.

Function: create-font (texture &key line-height nb-glyphs)

Create a new font object that can be used to render text using the provided texture.

Package

glaw.

Source

font.lisp.

Function: create-fragment-shader-from-file (file &optional compile)
Package

glaw.

Source

graphics.lisp.

Function: create-framebuffer (width height &key colors depth stencil)
Package

glaw.

Source

graphics.lisp.

Function: create-grid-navmesh (width height cell-size)

Creates naive grid plane navigation mesh with its origin at (0;0).

Package

glaw.

Source

navmesh.lisp.

Function: create-grid-shape (width height step-x step-y &key start-x start-y altitude color texture)
Package

glaw.

Source

shape.lisp.

Function: create-image (width height bpp)
Package

glaw.

Source

graphics.lisp.

Function: create-isometric-view (x y width height)
Package

glaw.

Source

view.lisp.

Function: create-line-shape (x0 y0 x1 y1)
Package

glaw.

Source

shape.lisp.

Function: create-particle-system (&optional max-particles)
Package

glaw.

Source

particles.lisp.

Function: create-polygon-shape (coords)
Package

glaw.

Source

shape.lisp.

Function: create-rectangle-shape (left bottom right top &key tex-width tex-height color)
Package

glaw.

Source

shape.lisp.

Function: create-renderbuffer (width height &optional format)
Package

glaw.

Source

graphics.lisp.

Function: create-resource-manager (&optional keep-current)

Make a new resource manager, maybe binds %RESOURCE-MANAGER% and returns it.

Package

glaw.

Source

resource.lisp.

Function: create-shader-program (&optional vertex fragment link)
Package

glaw.

Source

graphics.lisp.

Function: create-shape (nb-vertices nb-indices &key color texture normals tangents bitangents primitive)
Package

glaw.

Source

shape.lisp.

Function: create-sprite (x y width height texture &key bbox flip scale angle color)
Package

glaw.

Source

2d.lisp.

Function: create-sprite-batch ()
Package

glaw.

Source

2d.lisp.

Function: create-texture (width height bpp data &rest args)

Create a new GL texture. Texture’s origin is bottom-left.

Package

glaw.

Source

graphics.lisp.

Function: create-texture-from-image (image &rest args)
Package

glaw.

Source

graphics.lisp.

Function: create-tilemap (width height)
Package

glaw.

Source

2d.lisp.

Function: create-triangle-shape (x0 y0 x1 y1 x2 y2 &key filled)
Package

glaw.

Source

shape.lisp.

Function: create-vertex-shader-from-file (file &optional compile)
Package

glaw.

Source

graphics.lisp.

Function: create-widget (widget-type parent-widget &rest initargs)
Package

glaw.

Source

gui.lisp.

Function: current-screen (stack)

Returns current active game screen or NIL if there’s no screen in the stack.

Package

glaw.

Source

screen.lisp.

Function: defasset (asset-type extensions load &optional unload)

Defines an asset loader for ASSET-TYPE. Extension check will be done upon loading unless EXTENSIONS is :ANY.

Package

glaw.

Source

assets.lisp.

Function: deg->rad (angle)
Package

glaw.

Source

math.lisp.

Function: destroy-font (fnt)
Package

glaw.

Source

font.lisp.

Function: destroy-resource-manager (&optional mgr)

Destroy specified resource manager, removing all managed resources before. Defaults to %RESOURCE-MANAGER%.

Package

glaw.

Source

resource.lisp.

Function: destroy-sprite-batch (batch)
Package

glaw.

Source

2d.lisp.

Function: destroy-texture (tex)
Package

glaw.

Source

graphics.lisp.

Function: dispatch-button-event (device btn state)

Dispatch digital button events.

Package

glaw.

Source

input.lisp.

Function: dispatch-key-event (keysym state keycode string)

Dispatch keyboard events.

Package

glaw.

Source

input.lisp.

Function: dispatch-motion-event (device dx dy)

Dispatch relative axis device events.

Package

glaw.

Source

input.lisp.

Function: dispose-asset (identifier)

Dispose designated asset regardless of its current users.

Package

glaw.

Source

assets.lisp.

Function: draw-origin (&optional scale)
Package

glaw.

Source

graphics.lisp.

Function: drop-alias (alias-id)
Package

glaw.

Source

resource.lisp.

Function: drop-resource (id)

Stop using the designated resource.

Package

glaw.

Source

resource.lisp.

Function: drop-resources (&rest res-ids)
Package

glaw.

Source

resource.lisp.

Function: empty-screen-stack (stack)
Package

glaw.

Source

screen.lisp.

Function: end-draw ()
Package

glaw.

Source

graphics.lisp.

Function: find-path (nv start-x start-y end-x end-y &key g-func h-func)

Find a path from (START-X;START-Y) to (END-X;END-Y) if possible.

Package

glaw.

Source

navmesh.lisp.

Function: find-path/nodes (nv start-node end-node &optional g-func h-func)

Find a path from START-NODE to END-NODE using A star algorithm on the provided navigation mesh.

Package

glaw.

Source

navmesh.lisp.

Function: font-build-cache (fnt)
Package

glaw.

Source

font.lisp.

Reader: font-line-height (instance)
Writer: (setf font-line-height) (instance)
Package

glaw.

Source

font.lisp.

Target Slot

line-height.

Function: font-set-glyph-data (fnt index u v du dv advance)
Package

glaw.

Source

font.lisp.

Reader: frame-timer-avg-frame-time (instance)
Writer: (setf frame-timer-avg-frame-time) (instance)
Package

glaw.

Source

stats.lisp.

Target Slot

avg-frame-time.

Reader: frame-timer-avg-framerate (instance)
Writer: (setf frame-timer-avg-framerate) (instance)
Package

glaw.

Source

stats.lisp.

Target Slot

avg-framerate.

Reader: frame-timer-avg-max (instance)
Writer: (setf frame-timer-avg-max) (instance)
Package

glaw.

Source

stats.lisp.

Target Slot

avg-max.

Reader: frame-timer-avg-min (instance)
Writer: (setf frame-timer-avg-min) (instance)
Package

glaw.

Source

stats.lisp.

Target Slot

avg-min.

Function: frame-timer-grapher-update (grapher timer)
Package

glaw.

Source

stats.lisp.

Reader: frame-timer-instant-frame-time (instance)
Writer: (setf frame-timer-instant-frame-time) (instance)
Package

glaw.

Source

stats.lisp.

Target Slot

instant-frame-time.

Reader: frame-timer-instant-framerate (instance)
Writer: (setf frame-timer-instant-framerate) (instance)
Package

glaw.

Source

stats.lisp.

Target Slot

instant-framerate.

Reader: frame-timer-instant-max (instance)
Writer: (setf frame-timer-instant-max) (instance)
Package

glaw.

Source

stats.lisp.

Target Slot

instant-max.

Reader: frame-timer-instant-min (instance)
Writer: (setf frame-timer-instant-min) (instance)
Package

glaw.

Source

stats.lisp.

Target Slot

instant-min.

Reader: frame-timer-total-frame-time (instance)
Writer: (setf frame-timer-total-frame-time) (instance)
Package

glaw.

Source

stats.lisp.

Target Slot

total-frame-time.

Reader: frame-timer-total-framerate (instance)
Writer: (setf frame-timer-total-framerate) (instance)
Package

glaw.

Source

stats.lisp.

Target Slot

total-framerate.

Reader: frame-timer-total-nb-frames (instance)
Writer: (setf frame-timer-total-nb-frames) (instance)
Package

glaw.

Source

stats.lisp.

Target Slot

total-nb-frames.

Reader: frame-timer-total-time (instance)
Writer: (setf frame-timer-total-time) (instance)
Package

glaw.

Source

stats.lisp.

Target Slot

total-time.

Function: frame-timer-update (timer dt)

Updates framerate informations. DT is the elapsed time since last frame was rendered.

Package

glaw.

Source

stats.lisp.

Reader: framebuffer-colors (instance)
Writer: (setf framebuffer-colors) (instance)
Package

glaw.

Source

graphics.lisp.

Target Slot

colors.

Reader: framebuffer-depth (instance)
Writer: (setf framebuffer-depth) (instance)
Package

glaw.

Source

graphics.lisp.

Target Slot

depth.

Function: get-color-from-gradient (gradient value)
Package

glaw.

Source

graphics.lisp.

Function: get-color-from-gradient/rgb (gradient value)
Package

glaw.

Source

graphics.lisp.

Reader: gui-view (instance)
Writer: (setf gui-view) (instance)
Package

glaw.

Source

gui.lisp.

Target Slot

view.

Function: has-screens (stack)
Package

glaw.

Source

screen.lisp.

Reader: image-bpp (instance)
Writer: (setf image-bpp) (instance)
Package

glaw.

Source

graphics.lisp.

Target Slot

bpp.

Function: image-get-pixel (image x y)
Package

glaw.

Source

graphics.lisp.

Function: image-get-pixel/index (image index)
Package

glaw.

Source

graphics.lisp.

Reader: image-height (instance)
Writer: (setf image-height) (instance)
Package

glaw.

Source

graphics.lisp.

Target Slot

height.

Function: image-set-pixel (image x y r &optional g b a)
Package

glaw.

Source

graphics.lisp.

Function: image-set-pixel/index (image index r &optional g b a)
Package

glaw.

Source

graphics.lisp.

Reader: image-width (instance)
Writer: (setf image-width) (instance)
Package

glaw.

Source

graphics.lisp.

Target Slot

width.

Function: init-content-manager (&key root config)
Package

glaw.

Source

assets.lisp.

Function: init-gui (font)

Init GUI singleton using the provided bitmap font.

Package

glaw.

Source

gui.lisp.

Function: init-sound (&optional max-channels)
Package

glaw.

Source

sound.lisp.

Function: instant-fps ()
Package

glaw.

Source

stats.lisp.

Function: instant-frame-time ()
Package

glaw.

Source

stats.lisp.

Function: instant-max-fps ()
Package

glaw.

Source

stats.lisp.

Function: instant-min-fps ()
Package

glaw.

Source

stats.lisp.

Function: key-value (key lst)
Package

glaw.

Source

utils.lisp.

Function: load-asset (name &optional type identifier properties)

Load the specified asset from disk using whatever valid loader exist.
If the optional argument TYPE is provided then NAME is used as the filename to load from. Otherwise an asset declaration for the provided NAME is searched. If such a declaration exists then the corresponding asset is loaded and returned, otherwise an error occurs. If load is called directly with a filename, a new ASSET is created and stored in *ASSETS*. When no identifier is specified, the filename is used.

Package

glaw.

Source

assets.lisp.

Function: main-volume ()
Package

glaw.

Source

sound.lisp.

Function: make-3d-view (&key fov ratio near far position orientation)
Package

glaw.

Source

view.lisp.

Function: make-anim-state (&key animation time scale)
Package

glaw.

Source

anim.lisp.

Function: make-axis (&key x y z)
Package

glaw.

Source

math.lisp.

Function: make-basis (&key r00 r10 r20 z0 r01 r11 r21 z1 r02 r12 r22 z2 tx ty tz one)
Package

glaw.

Source

math.lisp.

Function: make-bbox (&key valid x-min y-min z-min x-max y-max z-max)
Package

glaw.

Source

bbox.lisp.

Function: make-frame-timer (&key avg-sample-size avg-min avg-max time-sum avg-frame-time avg-nb-frames avg-framerate instant-min instant-max instant-framerate time-ratio instant-frame-time total-framerate total-frame-time total-time total-nb-frames)
Package

glaw.

Source

stats.lisp.

Function: make-frame-timer-grapher ()
Package

glaw.

Source

stats.lisp.

Function: make-frustum-matrix (left right bottom top near far)
Package

glaw.

Source

math.lisp.

Function: make-image (&key width height bpp data)
Package

glaw.

Source

graphics.lisp.

Function: make-input-chord (&key inputs delay output max-delay pressed)
Package

glaw.

Source

input.lisp.

Function: make-input-repeat (&key input delay output auto-reset max-delay)
Package

glaw.

Source

input.lisp.

Function: make-input-sequence (&key inputs delay output max-delay remaining-inputs)
Package

glaw.

Source

input.lisp.

Function: make-keyframe-anim (&key channels hints frame-time start-frame nb-frames)
Package

glaw.

Source

anim.lisp.

Function: make-matrix (&key r00 r10 r20 z0 r01 r11 r21 z1 r02 r12 r22 z2 tx ty tz one)
Package

glaw.

Source

math.lisp.

Function: make-navmesh (&key cells)
Package

glaw.

Source

navmesh.lisp.

Function: make-navmesh-cell ()
Package

glaw.

Source

navmesh.lisp.

Function: make-orientation (&key roll pitch yaw)
Package

glaw.

Source

math.lisp.

Function: make-orientation-from-vector-3d (v)
Package

glaw.

Source

math.lisp.

Function: make-ortho-matrix (left right bottom top near far)
Package

glaw.

Source

math.lisp.

Function: make-perspective (&key fov ratio near far)
Package

glaw.

Source

math.lisp.

Function: make-point-2d (&key x y)
Package

glaw.

Source

math.lisp.

Function: make-point-2d-from-polar (distance angle)
Package

glaw.

Source

math.lisp.

Function: make-point-3d-from-spherical (distance yaw pitch)
Package

glaw.

Source

math.lisp.

Function: make-quaternion (&key x y z w)
Package

glaw.

Source

math.lisp.

Function: make-quaternion-from-angles (&key roll pitch yaw)
Package

glaw.

Source

math.lisp.

Function: make-quaternion-from-axis-angle (&key axis angle)
Package

glaw.

Source

math.lisp.

Function: make-quaternion-from-orientation (orientation)
Package

glaw.

Source

math.lisp.

Function: make-screen-stack (&key screens render render-backup update update-backup)
Package

glaw.

Source

screen.lisp.

Function: make-tileset (&key start-index texture tile-width tile-height spacing margin cache)
Package

glaw.

Source

2d.lisp.

Function: make-vector-2d (&key x y)
Package

glaw.

Source

math.lisp.

Function: make-vector-2d-from-coords (&rest coords)
Package

glaw.

Source

math.lisp.

Function: make-vector-2d-from-list (coord-list)
Package

glaw.

Source

math.lisp.

Function: make-vector-3d (&key x y z)
Package

glaw.

Source

math.lisp.

Function: make-vector-3d-from-coords (&rest coords)
Package

glaw.

Source

math.lisp.

Function: make-vector-3d-from-list (coord-list)
Package

glaw.

Source

math.lisp.

Function: make-vector-4d (&key x y z w)
Package

glaw.

Source

math.lisp.

Function: make-vector-4d-from-3d (vec &optional w)
Package

glaw.

Source

math.lisp.

Function: matrix-set-frustum (mtx left right bottom top near far)
Package

glaw.

Source

math.lisp.

Function: matrix-set-ortho (mtx left right bottom top near far)
Package

glaw.

Source

math.lisp.

Function: mix-colors (color-1 color-2 value)
Package

glaw.

Source

graphics.lisp.

Function: move-2d-view (view dx dy)
Package

glaw.

Source

view.lisp.

Function: move-isometric-view (view dx dy)
Package

glaw.

Source

view.lisp.

Function: move-sprite (sp x y)

Set sprite position.

Package

glaw.

Source

2d.lisp.

Function: move-sprite-center (sp x y)
Package

glaw.

Source

2d.lisp.

Function: navmesh-cell (nv index)
Package

glaw.

Source

navmesh.lisp.

Function: navmesh-cell-add-vertex (cell x y)
Package

glaw.

Source

navmesh.lisp.

Function: navmesh-cell-center (cell)
Package

glaw.

Source

navmesh.lisp.

Reader: navmesh-cell-polygon (instance)
Writer: (setf navmesh-cell-polygon) (instance)
Package

glaw.

Source

navmesh.lisp.

Target Slot

polygon.

Reader: navmesh-cells (instance)
Writer: (setf navmesh-cells) (instance)
Package

glaw.

Source

navmesh.lisp.

Target Slot

cells.

Function: navmesh-nb-cells (nv)
Package

glaw.

Source

navmesh.lisp.

Function: navmesh-remove-cell-at (nv x y)
Package

glaw.

Source

navmesh.lisp.

Function: nshuffle (seq)
Package

glaw.

Source

utils.lisp.

Function: orientation-pitch (structure)
Package

glaw.

Source

math.lisp.

Function: (setf orientation-pitch) (structure)
Package

glaw.

Source

math.lisp.

Function: orientation-roll (structure)
Package

glaw.

Source

math.lisp.

Function: (setf orientation-roll) (structure)
Package

glaw.

Source

math.lisp.

Function: orientation-yaw (structure)
Package

glaw.

Source

math.lisp.

Function: (setf orientation-yaw) (structure)
Package

glaw.

Source

math.lisp.

Function: particle-system-nb-particles (syst)
Package

glaw.

Source

particles.lisp.

Function: perspective-apply (p mtx)
Package

glaw.

Source

math.lisp.

Reader: perspective-fov (instance)
Package

glaw.

Source

math.lisp.

Target Slot

fov.

Setf expander for this reader

(setf perspective-fov).

Writer: (setf perspective-fov) (instance)
Package

glaw.

Source

math.lisp.

Target Slot

fov.

Reader: perspective-ratio (instance)
Package

glaw.

Source

math.lisp.

Target Slot

ratio.

Setf expander for this reader

(setf perspective-ratio).

Writer: (setf perspective-ratio) (instance)
Package

glaw.

Source

math.lisp.

Target Slot

ratio.

Function: play-channel (chan)
Package

glaw.

Source

sound.lisp.

Function: play-sound (snd &key loop volume pitch)
Package

glaw.

Source

sound.lisp.

Function: point-2d-angle (p)
Package

glaw.

Source

math.lisp.

Function: point-2d-distance (p)
Package

glaw.

Source

math.lisp.

Function: point-2d-x (structure)
Package

glaw.

Source

math.lisp.

Function: (setf point-2d-x) (structure)
Package

glaw.

Source

math.lisp.

Function: point-2d-y (structure)
Package

glaw.

Source

math.lisp.

Function: (setf point-2d-y) (structure)
Package

glaw.

Source

math.lisp.

Function: point-3d-angles (p)
Package

glaw.

Source

math.lisp.

Function: point-3d-distance (p)
Package

glaw.

Source

math.lisp.

Function: point-3d-x (structure)
Package

glaw.

Source

math.lisp.

Function: (setf point-3d-x) (structure)
Package

glaw.

Source

math.lisp.

Function: point-3d-y (structure)
Package

glaw.

Source

math.lisp.

Function: (setf point-3d-y) (structure)
Package

glaw.

Source

math.lisp.

Function: point-3d-z (structure)
Package

glaw.

Source

math.lisp.

Function: (setf point-3d-z) (structure)
Package

glaw.

Source

math.lisp.

Function: pop-input-handlers ()
Package

glaw.

Source

input.lisp.

Function: pop-screen (stack)

Shutdown current screen and pop it from STACK.

Package

glaw.

Source

screen.lisp.

Function: push-input-handlers ()
Package

glaw.

Source

input.lisp.

Function: push-screen (screen stack &key propagate-rendering propagate-updating initargs)

Push SCREEN on top of STACK and then initialize SCREEN.

Package

glaw.

Source

screen.lisp.

Function: quaternion-add (q1 q2)
Package

glaw.

Source

math.lisp.

Function: quaternion-diff (q1 q2)
Package

glaw.

Source

math.lisp.

Function: quaternion-mag (q)
Package

glaw.

Source

math.lisp.

Function: quaternion-mult (q1 q2)
Package

glaw.

Source

math.lisp.

Function: quaternion-normalize (q)
Package

glaw.

Source

math.lisp.

Function: quaternion-nscale (q factor)
Package

glaw.

Source

math.lisp.

Function: quaternion-scale (q factor)
Package

glaw.

Source

math.lisp.

Function: quaternion-sub (q1 q2)
Package

glaw.

Source

math.lisp.

Function: quaternion-sum (q1 q2)
Package

glaw.

Source

math.lisp.

Function: quaternion-w (structure)
Package

glaw.

Source

math.lisp.

Function: (setf quaternion-w) (structure)
Package

glaw.

Source

math.lisp.

Function: quaternion-x (structure)
Package

glaw.

Source

math.lisp.

Function: (setf quaternion-x) (structure)
Package

glaw.

Source

math.lisp.

Function: quaternion-y (structure)
Package

glaw.

Source

math.lisp.

Function: (setf quaternion-y) (structure)
Package

glaw.

Source

math.lisp.

Function: quaternion-z (structure)
Package

glaw.

Source

math.lisp.

Function: (setf quaternion-z) (structure)
Package

glaw.

Source

math.lisp.

Function: rad->deg (angle)
Package

glaw.

Source

math.lisp.

Function: random-between (min max)
Package

glaw.

Source

utils.lisp.

Function: random-nth (seq)
Package

glaw.

Source

utils.lisp.

Function: remove-input-handler (handler)
Package

glaw.

Source

input.lisp.

Function: render-bbox (bbox)
Package

glaw.

Source

bbox.lisp.

Function: render-gui (&optional gui)
Package

glaw.

Source

gui.lisp.

Function: render-particles (s)
Package

glaw.

Source

particles.lisp.

Function: render-screens (stack)
Package

glaw.

Source

screen.lisp.

Function: render-shape (shape &key primitive shader)
Package

glaw.

Source

shape.lisp.

Function: render-sprite (sp)
Package

glaw.

Source

2d.lisp.

Function: render-stats-grapher (grapher &key x y)
Package

glaw.

Source

stats.lisp.

Function: render-string (x y fnt str)
Package

glaw.

Source

font.lisp.

Function: render-tilemap (tilemap tileset)
Package

glaw.

Source

2d.lisp.

Function: render-wrapped-string (x y wdth fnt str &key justify)
Package

glaw.

Source

font.lisp.

Function: replace-screen (stack screen)
Package

glaw.

Source

screen.lisp.

Function: reshape (width height)
Package

glaw.

Source

graphics.lisp.

Function: rotate-shape-2d (shape angle &optional center-x center-y)
Package

glaw.

Source

shape.lisp.

Function: rotate-sprite (sp dangle)
Package

glaw.

Source

2d.lisp.

Function: run-timers (timer-list dt)
Package

glaw.

Source

scheduler.lisp.

Function: scale-sprite (sp dscale)
Package

glaw.

Source

2d.lisp.

Function: schedule (secs repeat function &rest args)
Package

glaw.

Source

scheduler.lisp.

Function: screen-to-view (x y view)
Package

glaw.

Source

view.lisp.

Function: select-framebuffer (fb)
Package

glaw.

Source

graphics.lisp.

Function: select-texture (tex &key env-mode unit matrix)

Set TEX as the current gl texture if necessary.

Package

glaw.

Source

graphics.lisp.

Function: set-background-color (color)
Package

glaw.

Source

graphics.lisp.

Function: set-color (col)
Package

glaw.

Source

graphics.lisp.

Function: set-color-from-gradient (gradient value)
Package

glaw.

Source

graphics.lisp.

Function: set-color/rgb (r g b &optional a)
Package

glaw.

Source

graphics.lisp.

Function: set-main-volume (val)
Package

glaw.

Source

sound.lisp.

Function: set-shader-program (prg)
Package

glaw.

Source

graphics.lisp.

Function: set-view (view)
Package

glaw.

Source

view.lisp.

Function: set-view-2d (view)
Package

glaw.

Source

view.lisp.

Function: set-view-3d (view)
Package

glaw.

Source

view.lisp.

Function: set-view-isometric (view)
Package

glaw.

Source

view.lisp.

Function: setup-2d-defaults ()
Package

glaw.

Source

graphics.lisp.

Function: setup-3d-defaults ()
Package

glaw.

Source

graphics.lisp.

Function: shape-add-color (shape color)
Package

glaw.

Source

shape.lisp.

Function: shape-add-color/rgb (shape r g b &optional a)
Package

glaw.

Source

shape.lisp.

Function: shape-add-indices (shape &rest indices)
Package

glaw.

Source

shape.lisp.

Function: shape-add-normal (shape x y z)
Package

glaw.

Source

shape.lisp.

Function: shape-add-tex-vertex (shape u v)
Package

glaw.

Source

shape.lisp.

Function: shape-add-vertex (shape x y &optional z)
Package

glaw.

Source

shape.lisp.

Function: shape-add-vertex/index (shape x y &optional z)
Package

glaw.

Source

shape.lisp.

Function: shape-get-index (shape index)
Package

glaw.

Source

shape.lisp.

Function: shape-get-vertex (shape index)
Package

glaw.

Source

shape.lisp.

Function: shape-nb-indices (shape)
Package

glaw.

Source

shape.lisp.

Function: shape-nb-vertices (shape)
Package

glaw.

Source

shape.lisp.

Function: shape-set-color (shape index color)
Package

glaw.

Source

shape.lisp.

Function: shape-set-tex-coord (shape index u v)
Package

glaw.

Source

shape.lisp.

Function: shape-set-vertex (shape index x y &optional z)
Package

glaw.

Source

shape.lisp.

Function: shuffle (seq)
Package

glaw.

Source

utils.lisp.

Function: shutdown-content-manager ()
Package

glaw.

Source

assets.lisp.

Function: shutdown-gui ()

Shutdown GUI singleton.

Package

glaw.

Source

gui.lisp.

Function: shutdown-sound ()
Package

glaw.

Source

sound.lisp.

Function: simplify-navmesh (nv)

Simplify the provided navigation mesh trying to merge adjacent cells.

Package

glaw.

Source

navmesh.lisp.

Function: sound-nb-channels ()
Package

glaw.

Source

sound.lisp.

Function: sound-nb-free-channels ()
Package

glaw.

Source

sound.lisp.

Function: sound-nb-used-channels ()
Package

glaw.

Source

sound.lisp.

Function: sprite-batch-append (batch sp)
Package

glaw.

Source

2d.lisp.

Function: sprite-batch-clear (batch)
Package

glaw.

Source

2d.lisp.

Function: sprite-batch-render (batch)
Package

glaw.

Source

2d.lisp.

Function: stop-channel (chan)
Package

glaw.

Source

sound.lisp.

Function: stop-sound (snd)
Package

glaw.

Source

sound.lisp.

Function: string-height (fnt &optional str)
Package

glaw.

Source

font.lisp.

Function: string-width (fnt str)
Package

glaw.

Source

font.lisp.

Function: string-wrap (fnt str max-width)

Wrap the provided string at MAX-WIDTH and returns a list of string, one for each line of the wrapped text.

Package

glaw.

Source

font.lisp.

Function: supported-assets ()

Return list of supported assets types.

Package

glaw.

Source

assets.lisp.

Function: tilemap-nb-tiles (tilemap)
Package

glaw.

Source

2d.lisp.

Reader: tileset-margin (instance)
Writer: (setf tileset-margin) (instance)
Package

glaw.

Source

2d.lisp.

Target Slot

margin.

Function: tileset-pixel-height (tileset)
Package

glaw.

Source

2d.lisp.

Function: tileset-pixel-width (tileset)
Package

glaw.

Source

2d.lisp.

Reader: tileset-spacing (instance)
Writer: (setf tileset-spacing) (instance)
Package

glaw.

Source

2d.lisp.

Target Slot

spacing.

Reader: tileset-start-index (instance)
Writer: (setf tileset-start-index) (instance)
Package

glaw.

Source

2d.lisp.

Target Slot

start-index.

Function: tileset-tiles-height (tileset)
Package

glaw.

Source

2d.lisp.

Function: tileset-tiles-width (tileset)
Package

glaw.

Source

2d.lisp.

Function: total-fps ()
Package

glaw.

Source

stats.lisp.

Function: total-frame-time ()
Package

glaw.

Source

stats.lisp.

Function: total-timer-nb-frames ()
Package

glaw.

Source

stats.lisp.

Function: total-timer-time ()
Package

glaw.

Source

stats.lisp.

Function: translate-mouse-button (button)
Package

glaw.

Source

gui.lisp.

Function: translate-shape (shape dx dy &optional dz)
Package

glaw.

Source

shape.lisp.

Function: translate-sprite (sp dx dy)
Package

glaw.

Source

2d.lisp.

Function: unalias-resource (res-id)
Package

glaw.

Source

resource.lisp.

Function: update-2d-view (view x y width height)
Package

glaw.

Source

view.lisp.

Function: update-fps (dt)
Package

glaw.

Source

stats.lisp.

Function: update-gui (&optional gui width height)
Package

glaw.

Source

gui.lisp.

Function: update-mouse-position (x y)
Package

glaw.

Source

input.lisp.

Function: update-particles (s dt)
Package

glaw.

Source

particles.lisp.

Function: update-scheduler (dt)
Package

glaw.

Source

scheduler.lisp.

Function: update-screens (stack dt)
Package

glaw.

Source

screen.lisp.

Function: update-sound ()
Package

glaw.

Source

sound.lisp.

Function: update-texture (tex data &optional x y width height)
Package

glaw.

Source

graphics.lisp.

Function: update-texture-from-image (tex image)
Package

glaw.

Source

graphics.lisp.

Function: update-timer (timer dt)

Update timer state and execute if expired.
Returns updated timer or NIL if timer expired and repeat was not set.

Package

glaw.

Source

scheduler.lisp.

Function: use-asset (identifier &optional res)
Package

glaw.

Source

assets.lisp.

Function: use-resources (&rest res-ids)
Package

glaw.

Source

resource.lisp.

Function: vector-2d-add (v1 v2)
Package

glaw.

Source

math.lisp.

Function: vector-2d-angle (v1 &optional v2)

Returns relative v1 angle relative to v2 in [-PI;+PI].

Package

glaw.

Source

math.lisp.

Function: vector-2d-diff (v1 v2)
Package

glaw.

Source

math.lisp.

Function: vector-2d-dot-product (v1 v2)
Package

glaw.

Source

math.lisp.

Function: vector-2d-mag (v)
Package

glaw.

Source

math.lisp.

Function: vector-2d-normalize (v)
Package

glaw.

Source

math.lisp.

Function: vector-2d-null-p (v)
Package

glaw.

Source

math.lisp.

Function: vector-2d-opposite (v)
Package

glaw.

Source

math.lisp.

Function: vector-2d-perp (v)
Package

glaw.

Source

math.lisp.

Function: vector-2d-perp-dot-product (v1 v2)
Package

glaw.

Source

math.lisp.

Function: vector-2d-rotate (v angle)
Package

glaw.

Source

math.lisp.

Function: vector-2d-scale (v factor)
Package

glaw.

Source

math.lisp.

Function: vector-2d-slope (v)
Package

glaw.

Source

math.lisp.

Function: vector-2d-sub (v1 v2)
Package

glaw.

Source

math.lisp.

Function: vector-2d-sum (v1 v2)
Package

glaw.

Source

math.lisp.

Function: vector-2d-x (structure)
Package

glaw.

Source

math.lisp.

Function: (setf vector-2d-x) (structure)
Package

glaw.

Source

math.lisp.

Function: vector-2d-y (structure)
Package

glaw.

Source

math.lisp.

Function: (setf vector-2d-y) (structure)
Package

glaw.

Source

math.lisp.

Function: vector-3d-add (v1 v2)
Package

glaw.

Source

math.lisp.

Function: vector-3d-cross-product (v1 v2)
Package

glaw.

Source

math.lisp.

Function: vector-3d-diff (v1 v2)
Package

glaw.

Source

math.lisp.

Function: vector-3d-dot-product (v1 v2)
Package

glaw.

Source

math.lisp.

Function: vector-3d-mag (v)
Package

glaw.

Source

math.lisp.

Function: vector-3d-normalize (v)
Package

glaw.

Source

math.lisp.

Function: vector-3d-nscale (v factor)
Package

glaw.

Source

math.lisp.

Function: vector-3d-null-p (v)
Package

glaw.

Source

math.lisp.

Function: vector-3d-opposite (v)
Package

glaw.

Source

math.lisp.

Function: vector-3d-project-xy (v)
Package

glaw.

Source

math.lisp.

Function: vector-3d-project-xz (v)
Package

glaw.

Source

math.lisp.

Function: vector-3d-project-yz (v)
Package

glaw.

Source

math.lisp.

Function: vector-3d-scale (v factor)
Package

glaw.

Source

math.lisp.

Function: vector-3d-sub (v1 v2)
Package

glaw.

Source

math.lisp.

Function: vector-3d-sum (v1 v2)
Package

glaw.

Source

math.lisp.

Function: vector-3d-x (structure)
Package

glaw.

Source

math.lisp.

Function: (setf vector-3d-x) (structure)
Package

glaw.

Source

math.lisp.

Function: vector-3d-y (structure)
Package

glaw.

Source

math.lisp.

Function: (setf vector-3d-y) (structure)
Package

glaw.

Source

math.lisp.

Function: vector-3d-z (structure)
Package

glaw.

Source

math.lisp.

Function: (setf vector-3d-z) (structure)
Package

glaw.

Source

math.lisp.

Function: vector-4d-w (structure)
Package

glaw.

Source

math.lisp.

Function: (setf vector-4d-w) (structure)
Package

glaw.

Source

math.lisp.

Function: vector-4d-x (structure)
Package

glaw.

Source

math.lisp.

Function: (setf vector-4d-x) (structure)
Package

glaw.

Source

math.lisp.

Function: vector-4d-y (structure)
Package

glaw.

Source

math.lisp.

Function: (setf vector-4d-y) (structure)
Package

glaw.

Source

math.lisp.

Function: vector-4d-z (structure)
Package

glaw.

Source

math.lisp.

Function: (setf vector-4d-z) (structure)
Package

glaw.

Source

math.lisp.

Function: view-to-screen (x y view)
Package

glaw.

Source

view.lisp.

Function: view-to-view (x y from-view to-view &optional absolute)
Package

glaw.

Source

view.lisp.

Function: zoom-2d-view (view dfactor &key lock-left lock-bottom lock-right lock-top)
Package

glaw.

Source

view.lisp.


6.1.6 Generic functions

Generic Function: (setf 2d-view-height) (view)
Package

glaw.

Methods
Method: (setf 2d-view-height) ((view 2d-view))
Source

view.lisp.

Generic Function: (setf 2d-view-width) (view)
Package

glaw.

Methods
Method: (setf 2d-view-width) ((view 2d-view))
Source

view.lisp.

Generic Function: animation-apply (anim obj date)

Apply animation ANIM at DATE to OBJ.

Package

glaw.

Source

anim.lisp.

Methods
Method: animation-apply ((it keyframe-anim) obj date)
Generic Function: framebuffer-attach-color (fb buf &optional index)
Package

glaw.

Methods
Method: framebuffer-attach-color (fb (buf renderbuffer) &optional index)
Source

graphics.lisp.

Method: framebuffer-attach-color (fb (buf texture) &optional index)
Source

graphics.lisp.

Generic Function: framebuffer-attach-depth (fb buf &optional index)
Package

glaw.

Methods
Method: framebuffer-attach-depth (fb (buf renderbuffer) &optional index)
Source

graphics.lisp.

Method: framebuffer-attach-depth (fb (buf texture) &optional index)
Source

graphics.lisp.

Generic Function: gui-focus (it)
Package

glaw.

Methods
Method: gui-focus ((it gui))
Source

gui.lisp.

Generic Function: (setf gui-focus) (it)
Package

glaw.

Methods
Method: (setf gui-focus) ((it gui))
Source

gui.lisp.

Generic Function: gui-focus-next (it)
Package

glaw.

Methods
Method: gui-focus-next ((it gui))
Source

gui.lisp.

Generic Function: gui-focus-prev (it)
Package

glaw.

Methods
Method: gui-focus-prev ((it gui))
Source

gui.lisp.

Generic Function: gui-slider-step-down (w)
Package

glaw.

Methods
Method: gui-slider-step-down ((w gui-slider))
Source

gui.lisp.

Generic Function: gui-slider-step-up (w)
Package

glaw.

Methods
Method: gui-slider-step-up ((w gui-slider))
Source

gui.lisp.

Generic Reader: gui-widget-visible (object)
Package

glaw.

Methods
Reader Method: gui-widget-visible ((gui-widget gui-widget))

automatically generated reader method

Source

gui.lisp.

Target Slot

visible.

Generic Writer: (setf gui-widget-visible) (object)
Package

glaw.

Methods
Writer Method: (setf gui-widget-visible) ((gui-widget gui-widget))

automatically generated writer method

Source

gui.lisp.

Target Slot

visible.

Generic Function: init-screen (screen &rest initargs &key &allow-other-keys)
Package

glaw.

Source

screen.lisp.

Methods
Method: init-screen (screen &key)
Generic Function: input-processor-reset (processor)

Cancel current processor state.

Package

glaw.

Source

input.lisp.

Methods
Method: input-processor-reset ((it input-chord))
Method: input-processor-reset ((it input-sequence))
Method: input-processor-reset ((it input-repeat))
Generic Function: input-processor-valid-p (it)
Package

glaw.

Methods
Method: input-processor-valid-p ((it input-chord))
Source

input.lisp.

Method: input-processor-valid-p ((it input-sequence))
Source

input.lisp.

Method: input-processor-valid-p ((it input-repeat))
Source

input.lisp.

Generic Function: move-widget (it x y)
Package

glaw.

Methods
Method: move-widget ((it gui-widget) x y)
Source

gui.lisp.

Generic Function: navstruct-node-at (nv x y)

Returns the navigation structure node at the specified position.

Package

glaw.

Source

navmesh.lisp.

Methods
Method: navstruct-node-at ((nv navmesh) x y)
Generic Function: render-screen (screen)
Package

glaw.

Source

screen.lisp.

Generic Function: resume-screen (screen)
Package

glaw.

Source

screen.lisp.

Methods
Method: resume-screen (screen)
Generic Function: shutdown-screen (screen)
Package

glaw.

Source

screen.lisp.

Methods
Method: shutdown-screen (screen)
Generic Function: suspend-screen (screen)
Package

glaw.

Source

screen.lisp.

Methods
Method: suspend-screen (screen)
Generic Function: text (object)
Package

glaw.

Methods
Reader Method: text ((gui-button gui-button))

automatically generated reader method

Source

gui.lisp.

Target Slot

text.

Method: text ((it gui-widget))
Source

gui.lisp.

Reader Method: text ((gui-label gui-label))

automatically generated reader method

Source

gui.lisp.

Target Slot

text.

Generic Function: (setf text) (object)
Package

glaw.

Methods
Writer Method: (setf text) ((gui-button gui-button))

automatically generated writer method

Source

gui.lisp.

Target Slot

text.

Writer Method: (setf text) ((w gui-label))
Source

gui.lisp.

Target Slot

text.

Method: (setf text) ((gui-label gui-label))

automatically generated writer method

Source

gui.lisp.

Generic Function: update-screen (screen dt)
Package

glaw.

Source

screen.lisp.


6.1.7 Standalone methods

Method: initialize-instance :after ((w gui-text-input) &key)
Source

gui.lisp.


6.1.8 Structures

Structure: navmesh-cell
Package

glaw.

Source

navmesh.lisp.

Direct superclasses

structure-object.

Direct methods

navstruct-node-neighbors.

Direct slots
Slot: neighbors
Readers

navmesh-cell-neighbors.

Writers

(setf navmesh-cell-neighbors).

Slot: polygon
Readers

navmesh-cell-polygon.

Writers

(setf navmesh-cell-polygon).


6.1.9 Classes

Class: gui-button
Package

glaw.

Source

gui.lisp.

Direct superclasses

gui-widget.

Direct methods
Direct Default Initargs
InitargValue
:color(create-color 1 1 1 0.3)
Direct slots
Slot: text
Initform

"some text?"

Initargs

:text

Readers

text.

Writers

(setf text).

Slot: action
Initargs

:action

Readers

action.

Writers

(setf action).

Slot: args
Initargs

:args

Readers

gui-button-args.

Writers

(setf gui-button-args).

Slot: pressed
Readers

gui-button-pressed.

Writers

(setf gui-button-pressed).

Slot: pressed-texture
Initargs

:pressed-texture

Readers

gui-button-pressed-texture.

Writers

(setf gui-button-pressed-texture).

Class: gui-gauge
Package

glaw.

Source

gui.lisp.

Direct superclasses

gui-widget.

Direct methods
Direct slots
Slot: value
Initform

0.5

Initargs

:value

Readers

gui-gauge-value.

Writers

(setf gui-gauge-value).

Slot: fill-color
Initform

(glaw:create-color 1.0 1.0 1.0 0.75)

Initargs

:fill-color

Readers

gui-gauge-fill-color.

Writers

(setf gui-gauge-fill-color).

Class: gui-label

One line text

Package

glaw.

Source

gui.lisp.

Direct superclasses

gui-widget.

Direct methods
Direct slots
Slot: text
Initform

"some text?"

Initargs

:text

Readers

text.

Writers

(setf text).

Slot: text-color
Initform

(glaw:create-color 1 1 1)

Initargs

:text-color

Readers

text-color.

Writers

(setf text-color).

Class: gui-slider
Package

glaw.

Source

gui.lisp.

Direct superclasses

gui-widget.

Direct methods
Direct slots
Slot: min
Package

common-lisp.

Initform

0

Initargs

:min

Readers

gui-slider-min.

Writers

(setf gui-slider-min).

Slot: max
Package

common-lisp.

Initform

100

Initargs

:max

Readers

gui-slider-max.

Writers

(setf gui-slider-max).

Slot: step
Package

common-lisp.

Initform

1

Initargs

:step

Readers

gui-slider-step.

Writers

(setf gui-slider-step).

Slot: value
Initform

50

Initargs

:value

Readers

gui-slider-value.

Writers

(setf gui-slider-value).

Slot: sliding
Readers

gui-slider-sliding.

Writers

(setf gui-slider-sliding).

Class: gui-text-input
Package

glaw.

Source

gui.lisp.

Direct superclasses

gui-widget.

Direct methods
Direct slots
Slot: input
Initform

(quote nil)

Initargs

:input

Readers

input.

Writers

(setf input).

Slot: action
Initargs

:action

Readers

action.

Writers

(setf action).

Class: gui-widget

Base class for all gui components.

Package

glaw.

Source

gui.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: x
Initform

0

Initargs

:x

Readers

pos-x.

Writers

(setf pos-x).

Slot: y
Initform

0

Initargs

:y

Readers

pos-y.

Writers

(setf pos-y).

Slot: width
Initform

1.0

Initargs

:width

Slot: height
Initform

1.0

Initargs

:height

Slot: x-off
Initform

0

Initargs

:x-off

Readers

gui-widget-x-off.

Writers

(setf gui-widget-x-off).

Slot: y-off
Initform

0

Initargs

:y-off

Readers

gui-widget-y-off.

Writers

(setf gui-widget-y-off).

Slot: layout
Initform

:absolute

Initargs

:layout

Readers

gui-widget-layout.

Writers

(setf gui-widget-layout).

Slot: color
Initform

(glaw:create-color 0.35 0.35 0.35 0.5)

Initargs

:color

Readers

gui-widget-color.

Writers

(setf gui-widget-color).

Slot: texture
Initargs

:texture

Readers

gui-widget-texture.

Writers

(setf gui-widget-texture).

Slot: visible
Initform

t

Initargs

:visible

Readers

gui-widget-visible.

Writers

(setf gui-widget-visible).

Slot: font
Initargs

:font

Readers

gui-widget-font.

Writers

(setf gui-widget-font).

Slot: focused
Initform

t

Readers

focused.

Writers

(setf focused).

Slot: parent
Readers

parent-widget.

Writers

(setf parent-widget).

Slot: children
Initform

(quote nil)

Readers

children.

Writers

(setf children).

Class: gui-window
Package

glaw.

Source

gui.lisp.

Direct superclasses

gui-widget.

Direct methods
Direct slots
Slot: moveable
Initargs

:moveable

Readers

gui-window-moveable.

Writers

(setf gui-window-moveable).

Slot: moving
Readers

gui-window-moving.

Writers

(setf gui-window-moving).

Slot: title
Initargs

:title

Readers

gui-window-title.

Writers

This slot is read-only.


6.2 Internals


6.2.1 Constants

Constant: +basis-sin-precision+
Package

glaw.

Source

math.lisp.

Constant: +epsilon+
Package

glaw.

Source

math.lisp.


6.2.2 Special variables

Special Variable: %frame-timer%

Current frame timer.

Package

glaw.

Source

stats.lisp.

Special Variable: %resource-manager%
Package

glaw.

Source

resource.lisp.

Special Variable: %selected-framebuffer-index%

Currently selected framebuffer object index.

Package

glaw.

Source

graphics.lisp.

Special Variable: %selected-shader-index%
Package

glaw.

Source

graphics.lisp.

Special Variable: %selected-texture-index%

Current texture in GL context.

Package

glaw.

Source

graphics.lisp.

Special Variable: *asset-loaders*
Package

glaw.

Source

assets.lisp.

Special Variable: *assets*
Package

glaw.

Source

assets.lisp.

Special Variable: *content-directory*
Package

glaw.

Source

assets.lisp.

Special Variable: *content-manager*
Package

glaw.

Source

assets.lisp.

Special Variable: *debug-stream*
Package

glaw.

Source

utils.lisp.

Special Variable: *free-sources*
Package

glaw.

Source

sound.lisp.

Special Variable: *gui*
Package

glaw.

Source

gui.lisp.

Special Variable: *input-handlers*

All active input handlers.

Package

glaw.

Source

input.lisp.

Special Variable: *input-stack*
Package

glaw.

Source

input.lisp.

Special Variable: *sounds*
Package

glaw.

Source

sound.lisp.

Special Variable: *timers*
Package

glaw.

Source

scheduler.lisp.

Special Variable: *used-sources*
Package

glaw.

Source

sound.lisp.

Special Variable: +default-2d-render-state+
Package

glaw.

Source

graphics.lisp.

Special Variable: +default-3d-render-state+
Package

glaw.

Source

graphics.lisp.

Special Variable: +default-material+
Package

glaw.

Source

graphics.lisp.


6.2.3 Macros

Macro: define-anim-channels (((obj-sym obj-type) data-sym) &rest channels)

Define channels type and their apply-state code for a specific object.

Package

glaw.

Source

anim.lisp.

Macro: define-constant (name value &optional doc)
Package

glaw.

Source

utils.lisp.

Macro: map-particles ((p-sym p-system) &body body)
Package

glaw.

Source

particles.lisp.

Macro: with-profiling (fmt &body body)
Package

glaw.

Source

utils.lisp.

Macro: with-shape-colors ((c-sym shape) &body body)
Package

glaw.

Source

shape.lisp.

Macro: with-shape-normals ((v-sym shape) &body body)
Package

glaw.

Source

shape.lisp.

Macro: with-shape-tex-coords ((t-sym shape) &body body)
Package

glaw.

Source

shape.lisp.

Macro: with-shape-vertices ((v-sym shape) &body body)
Package

glaw.

Source

shape.lisp.


6.2.4 Setf expanders

Setf Expander: (setf channel-pitch) (chan)
Package

glaw.

Source

sound.lisp.

Reader

channel-pitch (function).

Writer

set-channel-pitch (function).

Setf Expander: (setf material-alpha) (mat)
Package

glaw.

Source

graphics.lisp.

Reader

material-alpha (function).

Writer

material-set-alpha (function).

Setf Expander: (setf sprite-flip) (it)
Package

glaw.

Source

2d.lisp.

Reader

sprite-flip (reader).

Writer

sprite-set-flip (function).


6.2.5 Ordinary functions

Function: %2d-view-update-matrix (view)
Package

glaw.

Source

view.lisp.

Function: %3d-view-update-eye-matrix (view)
Package

glaw.

Source

view.lisp.

Function: %3d-view-update-proj-matrix (view)
Package

glaw.

Source

view.lisp.

Function: %asset-loader (type extension)

Try to find a valid asset loader for the specified TYPE and EXTENSION.

Package

glaw.

Source

assets.lisp.

Function: %framebuffer-attach-renderbuffer (fb rb attach-point)
Package

glaw.

Source

graphics.lisp.

Function: %framebuffer-attach-texture (fb texture attach-point)
Package

glaw.

Source

graphics.lisp.

Function: %index-buffer-setup-arrays (ib)
Package

glaw.

Source

graphics.lisp.

Function: %isometric-view-update-matrix (view)
Package

glaw.

Source

view.lisp.

Function: %load-asset (asset &optional root-path)
Package

glaw.

Source

assets.lisp.

Function: %loaded-asset-p (asset)
Package

glaw.

Source

assets.lisp.

Function: %lowest-cost-node (node-list costs-table)
Package

glaw.

Source

navmesh.lisp.

Function: %make-3d-view (&key proj-mtx eye-mtx perspective basis)
Package

glaw.

Source

view.lisp.

Function: %make-navmesh-cell (&key neighbors polygon)
Package

glaw.

Source

navmesh.lisp.

Function: %make-perspective (&key fov ratio near far up-slope down-slope left-slope right-slope)
Package

glaw.

Source

math.lisp.

Function: %mesh-add-wavefront-part (mesh name material vertices tex-coords normals vertex-indices tex-vertex-indices normal-indices)
Package

glaw.

Source

3d.lisp.

Function: %perspective-update-slopes (p)
Package

glaw.

Source

math.lisp.

Function: %polygon-update-centroid (p)
Package

glaw.

Source

math.lisp.

Function: %polygon-update-edges (p)
Package

glaw.

Source

math.lisp.

Function: %polygon-update-internal (p)
Package

glaw.

Source

math.lisp.

Function: %reconstruct-path (current-node prevs)
Package

glaw.

Source

navmesh.lisp.

Function: %register-asset (asset)
Package

glaw.

Source

assets.lisp.

Function: %shader-add-program (shader prg)
Package

glaw.

Source

graphics.lisp.

Function: %shader-remove-program (shader prg)
Package

glaw.

Source

graphics.lisp.

Function: %shader-set-source (shader source)
Package

glaw.

Source

graphics.lisp.

Function: %vertex-buffer-setup-arrays (vb)
Package

glaw.

Source

graphics.lisp.

Function: %vertex-data-from-face-data (data indices)

Linearize per face data to per vertex mode.

Package

glaw.

Source

shape.lisp.

Function: 2d-view-eye-mtx (instance)
Package

glaw.

Source

view.lisp.

Function: (setf 2d-view-eye-mtx) (instance)
Package

glaw.

Source

view.lisp.

Function: 2d-view-p (object)
Package

glaw.

Source

view.lisp.

Function: 2d-view-proj-mtx (instance)
Package

glaw.

Source

view.lisp.

Function: (setf 2d-view-proj-mtx) (instance)
Package

glaw.

Source

view.lisp.

Reader: 3d-view-basis (instance)
Writer: (setf 3d-view-basis) (instance)
Package

glaw.

Source

view.lisp.

Target Slot

basis.

Function: 3d-view-eye-mtx (instance)
Package

glaw.

Source

view.lisp.

Function: (setf 3d-view-eye-mtx) (instance)
Package

glaw.

Source

view.lisp.

Function: 3d-view-forward (view)
Package

glaw.

Source

view.lisp.

Function: 3d-view-p (object)
Package

glaw.

Source

view.lisp.

Reader: 3d-view-perspective (instance)
Writer: (setf 3d-view-perspective) (instance)
Package

glaw.

Source

view.lisp.

Target Slot

perspective.

Function: 3d-view-proj-mtx (instance)
Package

glaw.

Source

view.lisp.

Function: (setf 3d-view-proj-mtx) (instance)
Package

glaw.

Source

view.lisp.

Function: 3d-view-set-far (v far)
Package

glaw.

Source

view.lisp.

Setf expanders to this function

(setf 3d-view-far).

Function: 3d-view-set-fov (v fov)
Package

glaw.

Source

view.lisp.

Setf expanders to this function

(setf 3d-view-fov).

Function: 3d-view-set-near (v near)
Package

glaw.

Source

view.lisp.

Setf expanders to this function

(setf 3d-view-near).

Function: 3d-view-set-orientation (v orientation)
Package

glaw.

Source

view.lisp.

Function: 3d-view-set-position (v pos)
Package

glaw.

Source

view.lisp.

Setf expanders to this function

(setf 3d-view-position).

Function: 3d-view-set-ratio (v ratio)
Package

glaw.

Source

view.lisp.

Setf expanders to this function

(setf 3d-view-ratio).

Function: add-particle (p syst)
Package

glaw.

Source

particles.lisp.

Function: add-particle-affector (syst affector)
Package

glaw.

Source

particles.lisp.

Function: add-particle-emitter (syst emitter)
Package

glaw.

Source

particles.lisp.

Function: add-resource (mgr id res &optional finalizer)

Create a new RESOURCE-HOLDER for RES designated by ID.

Package

glaw.

Source

resource.lisp.

Function: add-resource-alias (mgr res-id alias-id)
Package

glaw.

Source

resource.lisp.

Function: add-source (src)
Package

glaw.

Source

sound.lisp.

Function: adjacent-neighbor (cell)
Package

glaw.

Source

navmesh.lisp.

Function: al-sample-format (chans bits)
Package

glaw.

Source

sound.lisp.

Function: alias-asset (identifier alias)
Package

glaw.

Source

assets.lisp.

Reader: anim-state-animation (instance)
Writer: (setf anim-state-animation) (instance)
Package

glaw.

Source

anim.lisp.

Target Slot

animation.

Function: anim-state-p (object)
Package

glaw.

Source

anim.lisp.

Function: anim-state-reset (state)
Package

glaw.

Source

anim.lisp.

Reader: anim-state-scale (instance)
Writer: (setf anim-state-scale) (instance)
Package

glaw.

Source

anim.lisp.

Target Slot

scale.

Reader: anim-state-time (instance)
Writer: (setf anim-state-time) (instance)
Package

glaw.

Source

anim.lisp.

Target Slot

time.

Function: asset-loader-extension-supported-p (loader extension)
Package

glaw.

Source

assets.lisp.

Function: asset-loader-extensions (loader)
Package

glaw.

Source

assets.lisp.

Function: asset-loader-load (loader)
Package

glaw.

Source

assets.lisp.

Function: asset-loader-unload (loader)
Package

glaw.

Source

assets.lisp.

Reader: asset-name (instance)
Writer: (setf asset-name) (instance)
Package

glaw.

Source

assets.lisp.

Target Slot

name.

Function: asset-p (object)
Package

glaw.

Source

assets.lisp.

Reader: asset-properties (instance)
Writer: (setf asset-properties) (instance)
Package

glaw.

Source

assets.lisp.

Target Slot

properties.

Reader: asset-type (instance)
Writer: (setf asset-type) (instance)
Package

glaw.

Source

assets.lisp.

Target Slot

type.

Function: axis-x (structure)
Package

glaw.

Source

math.lisp.

Function: (setf axis-x) (structure)
Package

glaw.

Source

math.lisp.

Function: axis-y (structure)
Package

glaw.

Source

math.lisp.

Function: (setf axis-y) (structure)
Package

glaw.

Source

math.lisp.

Function: axis-z (structure)
Package

glaw.

Source

math.lisp.

Function: (setf axis-z) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-global-to-local-position (basis pos)
Package

glaw.

Source

math.lisp.

Function: basis-global-to-local-vector (basis vec)
Package

glaw.

Source

math.lisp.

Function: basis-local-to-global-position (basis pos)
Package

glaw.

Source

math.lisp.

Function: basis-local-to-global-vector (basis vec)
Package

glaw.

Source

math.lisp.

Function: basis-one (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-one) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-r00 (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-r00) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-r01 (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-r01) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-r02 (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-r02) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-r10 (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-r10) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-r11 (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-r11) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-r12 (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-r12) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-r20 (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-r20) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-r21 (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-r21) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-r22 (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-r22) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-set-axis-angle (basis axis angle)
Package

glaw.

Source

math.lisp.

Function: basis-set-local-x (basis axis)
Package

glaw.

Source

math.lisp.

Setf expanders to this function

(setf basis-local-x).

Function: basis-set-local-y (basis axis)
Package

glaw.

Source

math.lisp.

Setf expanders to this function

(setf basis-local-y).

Function: basis-set-local-z (basis axis)
Package

glaw.

Source

math.lisp.

Setf expanders to this function

(setf basis-local-z).

Function: basis-set-position (basis pos)
Package

glaw.

Source

math.lisp.

Setf expanders to this function

(setf basis-position).

Function: basis-set-xyz-orientation (basis orientation)
Package

glaw.

Source

math.lisp.

Setf expanders to this function

(setf basis-xyz-orientation).

Function: basis-set-zyx-orientation (basis orientation)
Package

glaw.

Source

math.lisp.

Setf expanders to this function

(setf basis-zyx-orientation).

Function: basis-tx (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-tx) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-ty (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-ty) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-tz (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-tz) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-z0 (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-z0) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-z1 (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-z1) (structure)
Package

glaw.

Source

math.lisp.

Function: basis-z2 (structure)
Package

glaw.

Source

math.lisp.

Function: (setf basis-z2) (structure)
Package

glaw.

Source

math.lisp.

Function: bbox-p (object)
Package

glaw.

Source

bbox.lisp.

Reader: bbox-valid (instance)
Writer: (setf bbox-valid) (instance)
Package

glaw.

Source

bbox.lisp.

Target Slot

valid.

Reader: bbox-z-max (instance)
Writer: (setf bbox-z-max) (instance)
Package

glaw.

Source

bbox.lisp.

Target Slot

z-max.

Reader: bbox-z-min (instance)
Writer: (setf bbox-z-min) (instance)
Package

glaw.

Source

bbox.lisp.

Target Slot

z-min.

Function: between-pi (angle)
Package

glaw.

Source

math.lisp.

Function: bilinear-interpolation (lower-left lower-right upper-left upper-right right-ratio upper-ratio)
Package

glaw.

Source

math.lisp.

Reader: bone-angle (instance)
Writer: (setf bone-angle) (instance)
Package

glaw.

Source

skeleton.lisp.

Target Slot

angle.

Reader: bone-children (instance)
Writer: (setf bone-children) (instance)
Package

glaw.

Source

skeleton.lisp.

Target Slot

children.

Reader: bone-length (instance)
Writer: (setf bone-length) (instance)
Package

glaw.

Source

skeleton.lisp.

Target Slot

length.

Function: bone-p (object)
Package

glaw.

Source

skeleton.lisp.

Reader: bone-parent (instance)
Writer: (setf bone-parent) (instance)
Package

glaw.

Source

skeleton.lisp.

Target Slot

parent.

Function: bsphere-center (bsphere)
Package

glaw.

Source

bbox.lisp.

Function: bsphere-inside-p (bsphere x y &optional z)
Package

glaw.

Source

bbox.lisp.

Function: bsphere-invalidate (bsphere)
Package

glaw.

Source

bbox.lisp.

Function: bsphere-overwrite/shape (bsphere shape)
Package

glaw.

Source

bbox.lisp.

Function: bsphere-p (object)
Package

glaw.

Source

bbox.lisp.

Reader: bsphere-radius (instance)
Writer: (setf bsphere-radius) (instance)
Package

glaw.

Source

bbox.lisp.

Target Slot

radius.

Function: bsphere-update (bsphere x y &optional z)
Package

glaw.

Source

bbox.lisp.

Function: bsphere-update/shape (bsphere shape)
Package

glaw.

Source

bbox.lisp.

Reader: bsphere-valid (instance)
Writer: (setf bsphere-valid) (instance)
Package

glaw.

Source

bbox.lisp.

Target Slot

valid.

Reader: bsphere-x (instance)
Writer: (setf bsphere-x) (instance)
Package

glaw.

Source

bbox.lisp.

Target Slot

x.

Reader: bsphere-y (instance)
Writer: (setf bsphere-y) (instance)