The rtg-math Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The rtg-math Reference Manual

This is the rtg-math Reference Manual, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 04:32:33 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

rtg-math

This system provides a selection of the math routines most commonly needed for making realtime graphics in lisp.

The library provides:

And more for all categories.

CHANGELOG

2017-09-09

2017-04-28

2017-04-11

2017-02-13

2017-02-12


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

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


Previous: , Up: Systems   [Contents][Index]

2.1 rtg-math

Author

Chris Bagley <techsnuffle@gmail.com>

License

BSD 2 Clause

Description

A selection of the math routines most commonly needed for realtime graphics in lisp

Dependencies
Source

rtg-math.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

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


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 rtg-math.asd

Location

rtg-math.asd

Systems

rtg-math (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 rtg-math/package.lisp

Parent

rtg-math (system)

Location

package.lisp

Packages

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 rtg-math/utils.lisp

Dependency

package.lisp (file)

Parent

rtg-math (system)

Location

utils.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 rtg-math/deftypes.lisp

Dependency

utils.lisp (file)

Parent

rtg-math (system)

Location

deftypes.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.5 rtg-math/base-maths.lisp

Dependency

deftypes.lisp (file)

Parent

rtg-math (system)

Location

base-maths.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.6 rtg-math/vectors/base-vectors.lisp

Dependency

base-maths.lisp (file)

Parent

rtg-math (system)

Location

vectors/base-vectors.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.7 rtg-math/vectors/vector2/non-consing.lisp

Dependency

vectors/base-vectors.lisp (file)

Parent

rtg-math (system)

Location

vectors/vector2/non-consing.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.8 rtg-math/vectors/vector2/consing.lisp

Dependency

vectors/vector2/non-consing.lisp (file)

Parent

rtg-math (system)

Location

vectors/vector2/consing.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.9 rtg-math/vectors/vector3/non-consing.lisp

Dependency

vectors/vector2/consing.lisp (file)

Parent

rtg-math (system)

Location

vectors/vector3/non-consing.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.10 rtg-math/vectors/vector3/consing.lisp

Dependency

vectors/vector3/non-consing.lisp (file)

Parent

rtg-math (system)

Location

vectors/vector3/consing.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.11 rtg-math/vectors/vector4/non-consing.lisp

Dependency

vectors/vector3/consing.lisp (file)

Parent

rtg-math (system)

Location

vectors/vector4/non-consing.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.12 rtg-math/vectors/vector4/consing.lisp

Dependency

vectors/vector4/non-consing.lisp (file)

Parent

rtg-math (system)

Location

vectors/vector4/consing.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.13 rtg-math/vectors/vectors.lisp

Dependency

vectors/vector4/consing.lisp (file)

Parent

rtg-math (system)

Location

vectors/vectors.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.14 rtg-math/matrices/matrix2/common.lisp

Dependency

vectors/vectors.lisp (file)

Parent

rtg-math (system)

Location

matrices/matrix2/common.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.15 rtg-math/matrices/matrix2/non-consing.lisp

Dependency

matrices/matrix2/common.lisp (file)

Parent

rtg-math (system)

Location

matrices/matrix2/non-consing.lisp

Exported Definitions
Internal Definitions

%* (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.16 rtg-math/matrices/matrix2/consing.lisp

Dependency

matrices/matrix2/non-consing.lisp (file)

Parent

rtg-math (system)

Location

matrices/matrix2/consing.lisp

Exported Definitions
Internal Definitions

%* (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.17 rtg-math/matrices/matrix3/common.lisp

Dependency

matrices/matrix2/consing.lisp (file)

Parent

rtg-math (system)

Location

matrices/matrix3/common.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.18 rtg-math/matrices/matrix3/non-consing.lisp

Dependency

matrices/matrix3/common.lisp (file)

Parent

rtg-math (system)

Location

matrices/matrix3/non-consing.lisp

Exported Definitions
Internal Definitions

%* (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.19 rtg-math/matrices/matrix3/consing.lisp

Dependency

matrices/matrix3/non-consing.lisp (file)

Parent

rtg-math (system)

Location

matrices/matrix3/consing.lisp

Exported Definitions
Internal Definitions

%* (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.20 rtg-math/matrices/matrix4/common.lisp

Dependency

matrices/matrix3/consing.lisp (file)

Parent

rtg-math (system)

Location

matrices/matrix4/common.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.21 rtg-math/matrices/matrix4/non-consing.lisp

Dependency

matrices/matrix4/common.lisp (file)

Parent

rtg-math (system)

Location

matrices/matrix4/non-consing.lisp

Exported Definitions
Internal Definitions

%* (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.22 rtg-math/matrices/matrix4/consing.lisp

Dependency

matrices/matrix4/non-consing.lisp (file)

Parent

rtg-math (system)

Location

matrices/matrix4/consing.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.23 rtg-math/matrices/base-matrices.lisp

Dependency

matrices/matrix4/consing.lisp (file)

Parent

rtg-math (system)

Location

matrices/base-matrices.lisp

Exported Definitions
Internal Definitions

m!one-arg (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.24 rtg-math/matrices/matrices.lisp

Dependency

matrices/base-matrices.lisp (file)

Parent

rtg-math (system)

Location

matrices/matrices.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.25 rtg-math/quaternions/common.lisp

Dependency

matrices/matrices.lisp (file)

Parent

rtg-math (system)

Location

quaternions/common.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.26 rtg-math/quaternions/non-consing.lisp

Dependency

quaternions/common.lisp (file)

Parent

rtg-math (system)

Location

quaternions/non-consing.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.27 rtg-math/quaternions/consing.lisp

Dependency

quaternions/non-consing.lisp (file)

Parent

rtg-math (system)

Location

quaternions/consing.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.28 rtg-math/projection/camera.lisp

Dependency

quaternions/consing.lisp (file)

Parent

rtg-math (system)

Location

projection/camera.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.29 rtg-math/polar-coords/polar.lisp

Dependency

projection/camera.lisp (file)

Parent

rtg-math (system)

Location

polar-coords/polar.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.30 rtg-math/spherical-coords/spherical.lisp

Dependency

polar-coords/polar.lisp (file)

Parent

rtg-math (system)

Location

spherical-coords/spherical.lisp

Exported Definitions
Internal Definitions

unit-spherical->unit-cartesian (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.31 rtg-math/regions/line3/consing.lisp

Dependency

spherical-coords/spherical.lisp (file)

Parent

rtg-math (system)

Location

regions/line3/consing.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.32 rtg-math/regions/ray3/consing.lisp

Dependency

regions/line3/consing.lisp (file)

Parent

rtg-math (system)

Location

regions/ray3/consing.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.33 rtg-math/regions/line-segment3/consing.lisp

Dependency

regions/ray3/consing.lisp (file)

Parent

rtg-math (system)

Location

regions/line-segment3/consing.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.34 rtg-math/regions/aab/common.lisp

Dependency

regions/line-segment3/consing.lisp (file)

Parent

rtg-math (system)

Location

regions/aab/common.lisp

Exported Definitions

with-aab (macro)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.35 rtg-math/regions/aab/non-consing.lisp

Dependency

regions/aab/common.lisp (file)

Parent

rtg-math (system)

Location

regions/aab/non-consing.lisp

Exported Definitions

merge-point (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.36 rtg-math/regions/aab/consing.lisp

Dependency

regions/aab/non-consing.lisp (file)

Parent

rtg-math (system)

Location

regions/aab/consing.lisp

Exported Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.37 rtg-math/regions/regions.lisp

Dependency

regions/aab/consing.lisp (file)

Parent

rtg-math (system)

Location

regions/regions.lisp

Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 rtg-math

Source

package.lisp (file)

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

4.2 rtg-math.region

Source

package.lisp (file)

Nickname

regions

Use List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.3 rtg-math.region.axis-aligned-box

Source

package.lisp (file)

Nickname

aab

Use List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.4 rtg-math.region.axis-aligned-box.non-consing

Source

package.lisp (file)

Nickname

aab-n

Use List
Exported Definitions

merge-point (function)


Next: , Previous: , Up: Packages   [Contents][Index]

4.5 %rtg-math.regions.axis-aligned-box.common

Source

package.lisp (file)

Use List
Exported Definitions

with-aab (macro)


Next: , Previous: , Up: Packages   [Contents][Index]

4.6 rtg-math.region.line-segment3

Source

package.lisp (file)

Nickname

line-seg3

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.7 rtg-math.region.ray3

Source

package.lisp (file)

Nickname

ray3

Use List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.8 rtg-math.region.line3

Source

package.lisp (file)

Nickname

line3

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.9 rtg-math.projection

Source

package.lisp (file)

Use List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.10 rtg-math.spherical

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

unit-spherical->unit-cartesian (function)


Next: , Previous: , Up: Packages   [Contents][Index]

4.11 rtg-math.polar

Source

package.lisp (file)

Use List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.12 rtg-math.quaternions

Source

package.lisp (file)

Nickname

q

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.13 rtg-math.quaternions.non-consing

Source

package.lisp (file)

Nickname

q-n

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.14 %rtg-math.quaternion.common

Source

package.lisp (file)

Use List
Used By List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.15 rtg-math.matrices

Source

package.lisp (file)

Nickname

m

Use List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.16 rtg-math.matrix4

Source

package.lisp (file)

Nickname

m4

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.17 rtg-math.matrix4.non-consing

Source

package.lisp (file)

Nickname

m4-n

Use List
Exported Definitions
Internal Definitions

%* (function)


Next: , Previous: , Up: Packages   [Contents][Index]

4.18 %rtg-math.matrix4.common

Source

package.lisp (file)

Use List
Used By List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.19 rtg-math.matrix3

Source

package.lisp (file)

Nickname

m3

Use List
Exported Definitions
Internal Definitions

%* (function)


Next: , Previous: , Up: Packages   [Contents][Index]

4.20 rtg-math.matrix3.non-consing

Source

package.lisp (file)

Nickname

m3-n

Use List
Exported Definitions
Internal Definitions

%* (function)


Next: , Previous: , Up: Packages   [Contents][Index]

4.21 %rtg-math.matrix3.common

Source

package.lisp (file)

Use List
Used By List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.22 rtg-math.matrix2

Source

package.lisp (file)

Nickname

m2

Use List
Exported Definitions
Internal Definitions

%* (function)


Next: , Previous: , Up: Packages   [Contents][Index]

4.23 rtg-math.matrix2.non-consing

Source

package.lisp (file)

Nickname

m2-n

Use List
Exported Definitions
Internal Definitions

%* (function)


Next: , Previous: , Up: Packages   [Contents][Index]

4.24 %rtg-math.matrix2.common

Source

package.lisp (file)

Use List
Used By List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.25 rtg-math.vectors

Source

package.lisp (file)

Nickname

v

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.26 rtg-math.vector4

Source

package.lisp (file)

Nickname

v4

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.27 rtg-math.vector3

Source

package.lisp (file)

Nickname

v3

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.28 rtg-math.vector2

Source

package.lisp (file)

Nickname

v2

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.29 rtg-math.vector4.non-consing

Source

package.lisp (file)

Nickname

v4-n

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.30 rtg-math.vector3.non-consing

Source

package.lisp (file)

Nickname

v3-n

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.31 rtg-math.vector2.non-consing

Source

package.lisp (file)

Nickname

v2-n

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.32 rtg-math.base-matrices

Source

package.lisp (file)

Use List
Used By List

rtg-math

Exported Definitions
Internal Definitions

m!one-arg (function)


Next: , Previous: , Up: Packages   [Contents][Index]

4.33 rtg-math.base-vectors

Source

package.lisp (file)

Use List
Used By List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.34 rtg-math.base-maths

Source

package.lisp (file)

Use List
Used By List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.35 rtg-math.types

Source

package.lisp (file)

Use List
Used By List
Exported Definitions
Internal Definitions

Previous: , Up: Packages   [Contents][Index]

4.36 %rtg-math

Source

package.lisp (file)

Use List
Used By List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

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


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Constants

Constant: +inv-pi+
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Constant: +one-degree-in-radians+
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Constant: +pi+
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Constant: 0.5pi
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Constant: 0.5pi-f
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Constant: 2pi
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Constant: 2pi-f
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Constant: inv-pi
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Constant: inv-pi-f
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Constant: pi-f
Package

rtg-math.base-maths

Source

base-maths.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Macros

Macro: case= FORM &body CASES
Package

%rtg-math

Source

utils.lisp (file)

Macro: decf PLACE &optional DELTA
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Macro: decf PLACE &optional DELTA
Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Macro: decf PLACE &optional DELTA
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Macro: decf PLACE &optional DELTA
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Macro: defn NAME TYPED-ARGS RESULT-TYPES &body BODY

Define a typed function

Package

%rtg-math

Source

utils.lisp (file)

Macro: defn-inlinable NAME TYPED-ARGS RESULT-TYPES &body BODY

Define a typed function that can be inlined but by default shouldn’t be

Package

%rtg-math

Source

utils.lisp (file)

Macro: defn-inline NAME TYPED-ARGS RESULT-TYPES &body BODY

Define a typed function and request that it be inlined

Package

%rtg-math

Source

utils.lisp (file)

Macro: ecase= FORM &body CASES
Package

%rtg-math

Source

utils.lisp (file)

Macro: incf PLACE &optional DELTA
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Macro: incf PLACE &optional DELTA
Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Macro: incf PLACE &optional DELTA
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Macro: incf PLACE &optional DELTA
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Macro: with-aab (MINA MAXA) AAB &body BODY
Package

%rtg-math.regions.axis-aligned-box.common

Source

regions/aab/common.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Compiler macros

Compiler Macro: * &rest MATRICES
Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Compiler Macro: * ACCUM-MAT &rest MAT4S
Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Compiler Macro: * &rest MATRICES
Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Compiler Macro: * ACCUM-MAT &rest MAT4S
Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Compiler Macro: * &rest MATRICES
Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Compiler Macro: * ACCUM-MAT &rest MAT4S
Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Compiler Macro: * &rest VEC4S
Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Compiler Macro: * &rest VEC3S
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Compiler Macro: * &rest VEC2S
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Compiler Macro: * ACCUM-VEC &rest VEC4S
Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Compiler Macro: * ACCUM-VEC &rest VEC3S
Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Compiler Macro: * ACCUM-VEC &rest VEC2S
Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Compiler Macro: + &rest COMPONENTS
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Compiler Macro: + ACCUM-QUAT &rest QUATERNIONS
Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Compiler Macro: + &rest VEC4S
Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Compiler Macro: + &rest VEC3S
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Compiler Macro: + &rest VEC2S
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Compiler Macro: + ACCUM-VEC &rest VEC4S
Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Compiler Macro: + ACCUM-VEC &rest VEC3S
Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Compiler Macro: + ACCUM-VEC &rest VEC2S
Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Compiler Macro: - &rest COMPONENTS
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Compiler Macro: - ACCUM-QUAT &rest QUATERNIONS
Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Compiler Macro: - &rest VEC4S
Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Compiler Macro: - &rest VEC3S
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Compiler Macro: - &rest VEC2S
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Compiler Macro: - ACCUM-VEC &rest VEC4S
Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Compiler Macro: - ACCUM-VEC &rest VEC3S
Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Compiler Macro: - ACCUM-VEC &rest VEC2S
Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Compiler Macro: m! &rest COMPONENTS
Package

rtg-math.base-matrices

Source

matrices/base-matrices.lisp (file)

Compiler Macro: melm MAT-A ROW COL

Provide access to data in the matrix by row
and column number. The actual data is stored in a 1d list in column major order, but this abstraction means we only have to think in row major order which is how most mathematical texts and online tutorials choose to show matrices

Package

%rtg-math.matrix4.common

Source

matrices/matrix4/common.lisp (file)

Compiler Macro: melm MAT-A ROW COL

Provide access to data in the matrix by row
and column number. The actual data is stored in a 1d list in column major order, but this abstraction means we only have to think in row major order which is how most mathematical texts and online tutorials choose to show matrices

Package

%rtg-math.matrix3.common

Source

matrices/matrix3/common.lisp (file)

Compiler Macro: melm MAT-A ROW COL

Provide access to data in the matrix by row
and column number. The actual data is stored in a 1d list in column major order, but this abstraction means we only have to think in row major order which is how most mathematical texts and online tutorials choose to show matrices

Package

%rtg-math.matrix2.common

Source

matrices/matrix2/common.lisp (file)

Compiler Macro: swizzle VEC PATTERN
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Compiler Macro: s~ VEC PATTERN
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Compiler Macro: v! &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Compiler Macro: v!bool &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Compiler Macro: v!byte &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Compiler Macro: v!double &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Compiler Macro: v!int &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Compiler Macro: v!int8 &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Compiler Macro: v!ubyte &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Compiler Macro: v!uint &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Compiler Macro: v!uint8 &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Compiler Macro: w VEC
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Compiler Macro: x VEC
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Compiler Macro: y VEC
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Compiler Macro: z VEC
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Functions

Function: * QUAT-A QUAT-B
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: * QUAT-TO-MUTATE QUAT-B
Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: * MATRIX-A MAT-VEC-OR-SCALAR
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: * &rest MATRICES
Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: * ACCUM-MAT &rest MAT4S

Add two matrices and returns the mutated matrix (accum-mat)

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: * &rest MATRICES
Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: * ACCUM-MAT &rest MAT3S
Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: * &rest MATRICES
Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: * ACCUM-MAT &rest MAT2S
Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: * VEC-A SCALAR-OR-VEC

Adds two vectors together and returns the result as a new vector of the same type

Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: * &rest VEC4S

takes any number of vectors and multiply them all together returning a new vector

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: * &rest VEC3S

takes any number of vectors and multiply them all together returning a new vector

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: * &rest VEC2S

takes any number of vectors and multiply them all together returning a new vector

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: * ACCUM-VEC &rest VEC4S

Add two vectors and return a new vector containing the result

Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Function: * ACCUM-VEC &rest VEC3S

Add two vectors and return a new vector containing the result

Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: * ACCUM-VEC &rest VEC2S

Add two vectors and return a new vector containing the result

Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: *s QUAT-A SCALAR

Multiply quat by scalar

Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: *s MAT-A SCALAR

Multiplies the components of the matrix by the scalar provided

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: *s MAT-TO-MUTATE SCALAR

Multiplies the components of the matrix by the scalar provided

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: *s MAT-A SCALAR

Multiplies the components of the matrix by the scalar provided

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: *s MAT-TO-MUTATE SCALAR

Multiplies the components of the matrix by the scalar provided

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: *s MAT-A SCALAR

Multiplies the components of the matrix by the scalar provided

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: *s MAT-TO-MUTATE SCALAR

Multiplies the components of the matrix by the scalar provided

Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: *s VECTOR-A A

Multiply vector by scalar

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: *s VECTOR-A A

Multiply vector by scalar

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: *s VECTOR-A A

Multiply vector by scalar

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: *s VEC4 A

Multiply vector by scalar

Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Function: *s VEC3 A

Multiply vector by scalar

Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: *s VEC2 A

Multiply vector by scalar

Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: *v MAT-A VEC4
Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: *v MAT-A VEC4-TO-MUTATE

Multiplies the vector3 by the matrix and returning the mutated vector4

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: *v MAT-A VEC-A

Multiplies the vector3 by the matrix and returns the result as a new vector3

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: *v MAT-A VEC3-TO-MUTATE

Multiplies the vector3 by the matrix and returning the mutated vector3

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: *v MAT-A VEC-A

Multiplies the vector3 by the matrix and returns the result as a new vector3

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: *v MAT-A VEC2-TO-MUTATE

Multiplies the vector3 by the matrix and returning the mutated vector3

Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: *v3 MAT-A VEC3

Returns the transform of a matrix

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: *v3 MAT-A VEC3-TO-MUTATE

Multiplies the vector3 by the matrix and returning the mutated vector3

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: + &rest QUATS
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: + ACCUM-QUAT &rest QUATERNIONS

Add two quattors and return a new quattor containing the result

Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: + &rest MATRICES
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: + MAT-A MAT-B

Adds the 2 matrices component wise and returns the result as a new matrix

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: + MAT-ACCUM MAT-B

Add the second matrix component wise to the first and return the first

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: + MAT-A MAT-B

Adds the 2 matrices component wise and returns the result as a new matrix

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: + MAT-ACCUM MAT-B

Add the second matrix component wise to the first and return the first

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: + MAT-A MAT-B

Adds the 2 matrices component wise and returns the result as a new matrix

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: + MAT-ACCUM MAT-B

Add the second matrix component wise to the first and return the first

Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: + &rest VECS
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: + &rest VEC4S

takes any number of vectors and add them all together returning a new vector

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: + &rest VEC3S

takes any number of vectors and add them all together returning a new vector

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: + &rest VEC2S

takes any number of vectors and add them all together returning a new vector

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: + ACCUM-VEC &rest VEC4S

Add two vectors and return a new vector containing the result

Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Function: + ACCUM-VEC &rest VEC3S

Add two vectors and return a new vector containing the result

Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: + ACCUM-VEC &rest VEC2S

Add two vectors and return a new vector containing the result

Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: +s VEC SCALAR
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: +s VEC4 SCALAR
Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: +s VEC3 SCALAR
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: +s VEC2 SCALAR
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: +s VEC4 SCALAR
Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Function: +s VEC3 SCALAR
Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: +s VEC2 SCALAR
Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: - QUAT &rest QUATS

takes any number of vectors and add them all together returning a new vector

Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: - ACCUM-QUAT &rest QUATERNIONS

Add two quattors and return a new quattor containing the result

Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: - &rest MATRICES
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: - MAT-A MAT-B

Subtracts the 2 matrices component wise and returns the result as a new matrix

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: - MAT-ACCUM MAT-B

Subtracts the second matrix component wise from the first and return the first

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: - MAT-A MAT-B

Subtracts the 2 matrices component wise and returns the result as a new matrix

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: - MAT-ACCUM MAT-B

Subtracts the second matrix component wise from the first and return the first

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: - MAT-A MAT-B

Subtracts the 2 matrices component wise and returns the result as a new matrix

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: - MAT-ACCUM MAT-B

Subtracts the second matrix component wise from the first and return the first

Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: - &rest VECS
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: - VEC4 &rest VEC4S

takes any number of vectors and add them all together returning a new vector

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: - VEC3 &rest VEC3S

takes any number of vectors and add them all together returning a new vector

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: - VEC2 &rest VEC2S

takes any number of vectors and add them all together returning a new vector

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: - ACCUM-VEC &rest VEC4S

Add two vectors and return a new vector containing the result

Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Function: - ACCUM-VEC &rest VEC3S

Add two vectors and return a new vector containing the result

Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: - ACCUM-VEC &rest VEC2S

Add two vectors and return a new vector containing the result

Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: -s VEC SCALAR
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: -s VEC4 SCALAR
Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: -s VEC3 SCALAR
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: -s VEC2 SCALAR
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: -s VEC4 SCALAR
Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Function: -s VEC3 SCALAR
Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: -s VEC2 SCALAR
Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: / VEC-A SCALAR-OR-VEC
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: / VECTOR-A VECTOR-B

Divides components, not sure what, i’ll need this for yet but hey!

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: / VECTOR-A VECTOR-B

Divides components

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: / VECTOR-A VECTOR-B

Divides components, not sure what, i’ll need this for yet but hey!

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: / VEC4-A VEC4-B

Multiply vector by scalar

Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Function: / VEC3-A VEC3-B

Multiply vector by scalar

Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: / VEC2-A VEC2-B

Multiply vector by scalar

Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: /= AAB-0 AAB-1
Package

rtg-math.region.axis-aligned-box

Source

regions/aab/consing.lisp (file)

Function: /= LINE-SEG3-A LINE-SEG3-B
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: /= RAY3-A RAY3-B
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: /= Q1 Q2
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: /= &rest MATRICES

Returns either t if the matrices are equal. Otherwise it returns nil.

Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: /= &rest VECS

Returns either t if the two vectors are equal. Otherwise it returns nil.

Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: /s VECTOR-A A

divide vector by scalar and return result as new vector

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: /s VECTOR-A A

divide vector by scalar and return result as new vector

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: /s VECTOR-A A

divide vector by scalar and return result as new vector

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: /s VEC4 A

Multiply vector by scalar

Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Function: /s VEC3 A

Multiply vector by scalar

Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: /s VEC2 A

Multiply vector by scalar

Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: 0! ()
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: 0! ()

Return a 4x4 zero matrix

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: 0! ()

Return a 3x3 zero matrix

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: 0! ()

Return a 2x2 zero matrix

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: 0p QUAT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: 0p MATRIX
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: 0p MAT-A

Returns ’t’ if this is a zero matrix (as contents of the matrix are floats the values have an error bound as defined in base-maths

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: 0p MAT-A

Returns ’t’ if this is a zero matrix (as contents of the matrix are floats the values have an error bound as defined in base-maths

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: 0p MAT-A

Returns ’t’ if this is a zero matrix (as contents of the matrix are floats the values have an error bound as defined in base-maths

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: 0p VEC-A

Returns t if the vector is of zero length

Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: 0p VECTOR-A

Checks if the length of the vector is zero. As this is a floating point number it checks to see if the length is below a threshold set in the base-maths package

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: 0p VECTOR-A

Checks if the length of the vector is zero. As this is a floating point number it checks to see if the length is below a threshold set in the base-maths package

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: 0p VECTOR-A

Checks if the length of the vector is zero. As this is a floating point number it checks to see if the length is below a threshold set in the base-maths package

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: 1+ MATRIX-A MATRIX-B
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: 1- MATRIX-A MATRIX-B
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: = AAB-0 AAB-1
Package

rtg-math.region.axis-aligned-box

Source

regions/aab/consing.lisp (file)

Function: = LINE-SEG3-A LINE-SEG3-B
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: = RAY3-A RAY3-B
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: = Q1 Q2
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: = &rest MATRICES

Returns either t if the matrices are equal. Otherwise it returns nil.

Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: = MAT-A MAT-B

Returns t if all elements of both matrices provided are equal

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: = MAT-A MAT-B

Returns t if all elements of both matrices provided are equal

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: = MAT-A MAT-B

Returns t if all elements of both matrices provided are equal

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: = &rest VECS

Returns either t if the vectors are equal. Otherwise it returns nil.

Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: = VECTOR-A VECTOR-B

Returns either t if the two vectors are equal. Otherwise it returns nil.

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: = VECTOR-A VECTOR-B

Returns either t if the two vectors are equal. Otherwise it returns nil.

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: = VECTOR-A VECTOR-B

Returns either t if the two vectors are equal. Otherwise it returns nil.

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: abs VECTOR-A

Return the vec4 containing the abs of the original vec4’s components.

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: abs VECTOR-A

Return the vec3 containing the abs of the original vec3’s components.

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: abs VECTOR-A

Return the vec2 containing the abs of the original vec2’s components.

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: absolute-dot VEC-A VEC-B

Adds two vectors together and returns the result as a new vector of the same type

Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: absolute-dot VECTOR-A VECTOR-B

Return the absolute dot product of the vector-a and vector-b.

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: absolute-dot VECTOR-A VECTOR-B

Return the absolute dot product of the vector-a and vector-b.

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: absolute-dot VECTOR-A VECTOR-B

Return the absolute dot product of the vector-a and vector-b.

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: add-point AAB POINT-V3
Package

rtg-math.region.axis-aligned-box

Source

regions/aab/consing.lisp (file)

Function: adjoint MAT-A

Returns the adjoint of the matrix

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: adjoint MAT-TO-MUTATE

Returns the adjoint of the matrix

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: adjoint MAT-A

Returns the adjoint of the provided matrix

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: adjoint MAT-TO-MUTATE

Returns the adjoint of the matrix

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: adjoint MAT-A

Returns the adjoint of the provided matrix

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: adjoint MAT-TO-MUTATE

Returns the adjoint of the matrix

Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: affine-inverse MATRIX-A
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: affine-inverse MAT-A

Returns the affine inverse of the matrix

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: affine-inverse MAT-TO-INVERT

Returns the affine inverse of the matrix

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: affine-inverse MAT-A

returns the inverse of the matrix

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: affine-inverse MAT-TO-INVERT

returns the inverse of the matrix

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: angle-between VEC-A VEC-B
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: angle-from VEC-FROM VEC-TO
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: approx-slerp START-QUAT END-QUAT POS
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: bezier A1 A2 B1 B2 AMMOUNT
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: bezier A1 A2 B1 B2 AMMOUNT
Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: bezier A1 A2 B1 B2 AMMOUNT
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: bezier A1 A2 B1 B2 AMMOUNT
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: cartesian->polar VEC2
Package

rtg-math.polar

Source

polar-coords/polar.lisp (file)

Function: cartesian->spherical VEC3

Takes a cartesian vector3 and converts it to a spherical coord vector with the layout (θ φ ρ).

Notes:
θ - angle between υ and x axis (rotating around z) φ - angle between υ and z axis
ρ - distance from origin (lengh of υ)

Package

rtg-math.spherical

Source

spherical-coords/spherical.lisp (file)

Function: closest-line-points LINE-SEG3 LINE3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: closest-line-points LINE3-A LINE3-B
Package

rtg-math.region.line3

Source

regions/line3/consing.lisp (file)

Function: closest-line-segment-points LINE-SEG-A LINE-SEG-B
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: closest-point LINE-SEG3 POINT-V3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: closest-point RAY3 POINT-V3
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: closest-point LINE3 POINT-V3
Package

rtg-math.region.line3

Source

regions/line3/consing.lisp (file)

Function: closest-ray-points LINE-SEG-A RAY3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: closest-ray-points RAY3-A RAY3-B
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: conjugate QUAT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: conjugate QUAT-TO-MUTATE
Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: copy QUAT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: copy-mat2 MAT2
Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: copy-mat3 MAT3
Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: copy-mat4 MAT4
Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: copy-vec2 VEC2
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: copy-vec3 VEC3
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: copy-vec4 VEC4
Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: cross VEC-A VEC-B
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: cross VEC-A VEC-B

Calculates the cross-product of 2 vectors, i.e. the vector that lies perpendicular to them both. The resultign vector will <b>NOT</b> be normalized, to maximise efficiency The returned vector will be on the side from which the arc from u to v is anticlockwise.
This is because CEPL uses a right-handed coordinate system. Another note on the cross product is that if vec-a and vec-b are normalized the length of the resulting vector will be sin(a) where a is the angle between the two vectors. The fact that we don’t normalize may be useful in our quaternion functions later on.

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: cross VEC-A VEC-B

Calculates the 2 dimensional cross-product of 2 vectors, which results in a single floating point value which is 2 times the area of the triangle.

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: degrees-f RADIANS
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Function: determinant MATRIX-A
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: determinant MAT-A

Returns the determinant of the matrix

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: determinant MAT-A

Returns the determinant of the matrix (uses the cramer method)

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: direction LINE-SEG3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: direction RAY3
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: direction LINE3
Package

rtg-math.region.line3

Source

regions/line3/consing.lisp (file)

Function: distance VEC-A VEC-B
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: distance VECTOR-A VECTOR-B

Return the distance between 2 points defined by vectors vector-a & vector-b. If comparing distances, use c-distance-squared as it desnt require a sqrt and thus is faster.

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: distance VECTOR-A VECTOR-B

Return the distance between 2 points defined by vectors vector-a & vector-b. If comparing distances, use c-distance-squared as it desnt require a sqrt and thus is faster.

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: distance VECTOR-A VECTOR-B

Return the distance between 2 points defined by vectors vector-a & vector-b. If comparing distances, use c-distance-squared as it desnt require a sqrt and thus is faster.

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: distance-squared VEC-A VEC-B
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: distance-squared VECTOR-A VECTOR-B

finds the squared distance between 2 points defined by vectors vector-a & vector-b

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: distance-squared VECTOR-A VECTOR-B

finds the squared distance between 2 points defined by vectors vector-a & vector-b

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: distance-squared VECTOR-A VECTOR-B

finds the squared distance between 2 points defined by vectors vector-a & vector-b

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: distance-squared-to-line-seg3 LINE-SEG-A LINE-SEG-B
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: distance-squared-to-line3 LINE-SEG3 LINE3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: distance-squared-to-line3 RAY3 LINE3
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: distance-squared-to-line3 LINE3-A LINE3-B
Package

rtg-math.region.line3

Source

regions/line3/consing.lisp (file)

Function: distance-squared-to-point LINE-SEG3 POINT-V3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: distance-squared-to-point RAY3 POINT-V3
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: distance-squared-to-point LINE3 POINT-V3
Package

rtg-math.region.line3

Source

regions/line3/consing.lisp (file)

Function: distance-squared-to-ray3 LINE-SEG3 RAY3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: distance-squared-to-ray3 RAY3-A RAY3-B
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: distance-to-line-seg3 LINE-SEG-A LINE-SEG-B
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: distance-to-line3 LINE-SEG3 LINE3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: distance-to-line3 RAY3 LINE3
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: distance-to-line3 LINE3-A LINE3-B
Package

rtg-math.region.line3

Source

regions/line3/consing.lisp (file)

Function: distance-to-point LINE-SEG3 POINT-V3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: distance-to-point RAY3 POINT-V3
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: distance-to-point LINE3 POINT-V3
Package

rtg-math.region.line3

Source

regions/line3/consing.lisp (file)

Function: distance-to-ray3 LINE-SEG3 RAY3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: distance-to-ray3 RAY3-A RAY3-B
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: dot QUAT-A QUAT-B

return the dot product of the quat-a and quat-b.

Package

%rtg-math.quaternion.common

Source

quaternions/common.lisp (file)

Function: dot VEC-A VEC-B
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: dot VECTOR-A VECTOR-B

return the dot product of the vector-a and vector-b.

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: dot VECTOR-A VECTOR-B

Return the dot product of the vector-a and vector-b.

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: dot VECTOR-A VECTOR-B

Return the dot product of the vector-a and vector-b.

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: elm MATRIX ROW COL
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: elt MATRIX ROW COL
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: end-point0 LINE-SEG3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: end-point1 LINE-SEG3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: face-foreward VEC-A VEC-B
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: face-foreward VECTOR-A VECTOR-B
Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: face-foreward VECTOR-A VECTOR-B
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: face-foreward VECTOR-A VECTOR-B
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: from-aabs &rest AABS
Package

rtg-math.region.axis-aligned-box

Source

regions/aab/consing.lisp (file)

Function: from-angle ANGLE
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: from-axies X-AXIES Y-AXIES Z-AXIES
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: from-axis-angle AXIS-VEC3 ANGLE
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: from-axis-angle QUAT-TO-MUTATE AXIS-VEC3 ANGLE
Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: from-columns COL-1 COL-2 COL-3 COL-4

Make a 4x4 matrix using the data in the 4 vector4s provided to populate the columns

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: from-columns COL-1 COL-2 COL-3

Make a 3x3 matrix using the data in the 3 vector3s provided to populate the columns

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: from-columns COL-1 COL-2

Make a 2x2 matrix using the data in the 3 vector3s provided to populate the columns

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: from-columns-v3 COL-1 COL-2 COL-3

Make a 4x4 matrix using the data in the 3 vector3s provided to populate the columns

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: from-complex C
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: from-direction UP3 DIR3
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: from-direction UP3 DIR3
Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: from-direction UP3 DIR3
Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: from-fixed-angles X-ROT Y-ROT Z-ROT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: from-fixed-angles QUAT-TO-MUTATE X-ROT Y-ROT Z-ROT
Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: from-fixed-angles-v3 ANGLES
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: from-mat3 MAT3
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: from-mat3 QUAT-TO-MUTATE MAT3

Creates a quaternion from a 3x3 rotation matrix

Assumes that this is a rotation matrix. It is critical that this
is true (and elements are between -1f0 and 1f0) as otherwise you will at best get a runtime error, and most likely a silently incorrect result.

Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: from-mat3 M-A

Takes a 3x3 matrix and returns a 4x4 rotation matrix with the same values. The 4th component is filled as an identity matrix would be.

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: from-points LIST-OF-VEC3
Package

rtg-math.region.axis-aligned-box

Source

regions/aab/consing.lisp (file)

Function: from-rows ROW-1 ROW-2 ROW-3 ROW-4

Make a 4x4 matrix using the data in the 4 vector4s provided to populate the rows

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: from-rows ROW-1 ROW-2 ROW-3

Make a 3x3 matrix using the data in the 3 vector3s provided to populate the rows

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: from-rows ROW-1 ROW-2

Make a 2x2 matrix using the data in the 3 vector3s provided to populate the rows

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: from-rows-v3 ROW-1 ROW-2 ROW-3

Make a 4x4 matrix using the data in the 4 vector4s provided to populate the rows

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: get-axis-angle QUAT

Gets one possible axis-angle pair that will generate this
quaternion

Assumes that this is a normalized quaternion. It is critical that this is true as otherwise you will at best get a runtime error, and most likely a silently incorrect result.

Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: get-axis-angle MAT-A

Gets one possible axis-angle pair that will generate this matrix. Assumes that this is a rotation matrix

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: get-axis-angle MAT-A

Gets one possible axis-angle pair that will generate this
matrix.

Assumes that this is a rotation matrix. It is critical that this
is true (and elements are between -1f0 and 1f0) as otherwise you will at best get a runtime error, and most likely a silently incorrect result.

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: get-column MATRIX-A COL-NUM
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: get-column MAT-A COL-NUM

Return the specified column of the matrix a vector4

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: get-column MAT-A COL-NUM

Return the specified column of the matrix a vector3

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: get-column MAT-A COL-NUM

Return the specified column of the matrix a vector3

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: get-columns MATRIX-A
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: get-columns MAT-A

Return the columns of the matrix as 4 vector4s

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: get-columns MAT-A

Return the columns of the matrix as 3 vector3s

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: get-columns MAT-A

Return the columns of the matrix as 3 vector3s

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: get-fixed-angles MAT-A

Gets one set of possible z-y-x fixed angles that will generate
this matrix. Result is returned as vector3

Assumes that this is a rotation matrix. It is critical that this
is true (and elements are between -1f0 and 1f0) as otherwise you will at best get a runtime error, and most likely a silently incorrect result.

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: get-fixed-angles MAT-A

Gets one set of possible z-y-x fixed angles that will generate
this matrix.

Assumes that this is a rotation matrix. It is critical that this
is true (and elements are between -1f0 and 1f0) as otherwise you will at best get a runtime error, and most likely a silently incorrect result.

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: get-row MATRIX-A ROW-NUM
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: get-row MAT-A ROW-NUM

Return the specified row of the matrix a vector4

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: get-row MAT-A ROW-NUM

Return the specified row of the matrix a vector3

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: get-row MAT-A ROW-NUM

Return the specified row of the matrix a vector3

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: get-rows MATRIX-A
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: get-rows MAT-A

Return the rows of the matrix as 4 vector4s

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: get-rows MAT-A

Return the rows of the matrix a 3 vector3s

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: get-rows MAT-A

Return the rows of the matrix a 3 vector3s

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: identity ()
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: identity ()

Return a 4x4 identity matrix

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: identity ()

Return a 3x3 identity matrix

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: identity ()

Return a 2x2 identity matrix

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: identity-p QUAT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: identityp MAT-A

Returns ’t’ if this is an identity matrix (as contents of the matrix are floats the values have an error bound as defined in base-maths

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: identityp MAT-A

Returns ’t’ if this is an identity matrix (as contents of the matrix are floats the values have an error bound as defined in base-maths

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: identityp MAT-A

Returns ’t’ if this is an identity matrix (as contents of the matrix are floats the values have an error bound as defined in base-maths

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: intersects-p AAB-0 AAB-1
Package

rtg-math.region.axis-aligned-box

Source

regions/aab/consing.lisp (file)

Function: intersects-with-line-segment-p AAB LINE-SEG3
Package

rtg-math.region.axis-aligned-box

Source

regions/aab/consing.lisp (file)

Function: intersects-with-line3-p AAB LINE3
Package

rtg-math.region.axis-aligned-box

Source

regions/aab/consing.lisp (file)

Function: intersects-with-ray3-p AAB RAY3
Package

rtg-math.region.axis-aligned-box

Source

regions/aab/consing.lisp (file)

Function: inv-sqrt X

Calculates the inverse square root of a number

Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Function: inverse QUAT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: inverse MATRIX-A
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: inverse MATRIX
Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: length LINE-SEG3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: length VEC-A
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: length VECTOR-A

Returns the length of a vector
If you only need to compare relative lengths then definately stick to length-squared as the sqrt is a slow operation.

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: length VECTOR-A

Returns the length of a vector
If you only need to compare relative lengths then definately stick to length-squared as the sqrt is a slow operation.

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: length VECTOR-A

Returns the length of a vector
If you only need to compare relative lengths then definately stick to length-squared as the sqrt is a slow operation.

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: length-squared LINE-SEG3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: length-squared VEC-A
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: length-squared VECTOR-A

Return the squared length of the vector. A regular length
is the square root of this value. The sqrt function is slow so if all thats needs doing is to compare lengths then always use the length squared function

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: length-squared VECTOR-A

Return the squared length of the vector. A regular length
is the square root of this value. The sqrt function is slow so if all thats needs doing is to compare lengths then always use the length squared function

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: length-squared VECTOR-A

Return the squared length of the vector. A regular length
is the square root of this value. The sqrt function is slow so if all thats needs doing is to compare lengths then always use the length squared function

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: lerp START-QUAT END-QUAT POS

Linearaly interpolate between two quaternions. Note that this will always take the shortest path.

Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: lerp VECTOR-A VECTOR-B AMMOUNT
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: lerp VECTOR-A VECTOR-B AMMOUNT
Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: lerp VECTOR-A VECTOR-B AMMOUNT
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: lerp VECTOR-A VECTOR-B AMMOUNT
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: lerp START END AMOUNT
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Function: look-at UP3 FROM3 TO3
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: look-at UP3 FROM3 TO3
Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: look-at UP3 FROM3 TO3
Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: m! &rest COMPONENTS
Package

rtg-math.base-matrices

Source

matrices/base-matrices.lisp (file)

Function: magnitude QUAT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: make MINIMA MAXIMA
Package

rtg-math.region.axis-aligned-box

Source

regions/aab/consing.lisp (file)

Function: make END-POINT0 END-POINT1
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: make ORIGIN-V3 DIRECTION-V3
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: make ORIGIN-V3 DIRECTION-V3
Package

rtg-math.region.line3

Source

regions/line3/consing.lisp (file)

Function: make A B C D E F G H I J K L M N O P

Make a 4x4 matrix. Data must be provided in row major order

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: make A B C D E F G H I

Make a 3x3 matrix. Data must be provided in row major order

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: make A B C D

Make a 2x2 matrix. Data must be provided in row major order

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: make X Y Z W

This takes 4 floats and give back a vector4, this is just an array but it specifies the array type and populates it. For speed reasons it will not accept integers so make sure you hand it floats.

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: make X Y Z
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: make X Y

This takes 2 floats and give back a vector2, this is just an array but it specifies the array type and populates it. For speed reasons it will not accept integers so make sure you hand it floats.

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: make-from-point-offset POINT-V3 OFFSET-V3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: maxima AAB
Package

rtg-math.region.axis-aligned-box

Source

regions/aab/consing.lisp (file)

Function: melm MAT-A ROW COL
Function: (setf melm) VALUE MAT-A ROW COL

Provides access to data in the matrix by row
and column number. The actual data is stored in a 1d list in column major order, but this abstraction means we only have to think in row major order which is how most mathematical texts and online tutorials choose to show matrices

Package

%rtg-math.matrix4.common

Source

matrices/matrix4/common.lisp (file)

Function: melm MAT-A ROW COL
Function: (setf melm) VALUE MAT-A ROW COL

Provides access to data in the matrix by row
and column number. The actual data is stored in a 1d list in column major order, but this abstraction means we only have to think in row major order which is how most mathematical texts and online tutorials choose to show matrices

Package

%rtg-math.matrix3.common

Source

matrices/matrix3/common.lisp (file)

Function: melm MAT-A ROW COL
Function: (setf melm) VALUE MAT-A ROW COL

Provides access to data in the matrix by row
and column number. The actual data is stored in a 1d list in column major order, but this abstraction means we only have to think in row major order which is how most mathematical texts and online tutorials choose to show matrices

Package

%rtg-math.matrix2.common

Source

matrices/matrix2/common.lisp (file)

Function: merge-into-vector &rest VECTORS

Takes a list of vectors and combines them into a new vector

Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: merge-point AAB POINT-V3
Package

rtg-math.region.axis-aligned-box.non-consing

Source

regions/aab/non-consing.lisp (file)

Function: minima AAB
Package

rtg-math.region.axis-aligned-box

Source

regions/aab/consing.lisp (file)

Function: minor MAT-A ROW-0 ROW-1 ROW-2 COL-0 COL-1 COL-2
Package

%rtg-math.matrix4.common

Source

matrices/matrix4/common.lisp (file)

Function: mix VECTOR-A VECTOR-B AMMOUNT
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: mrow*vec2 VEC MAT-A
Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: mrow*vec2 VEC2-TO-MUTATE MAT-A
Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: mrow*vec3 VEC MAT-A
Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: mrow*vec3 VEC3-TO-MUTATE MAT-A
Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: mrow*vec4 VEC MAT-A
Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: mrow*vec4 VEC4-TO-MUTATE MAT-A
Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: negate MATRIX-A
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: negate MAT-A

Negates the components of the matrix

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: negate MAT-TO-NEGATE

Negates the components of the matrix

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: negate MAT-A

Negates the components of the matrix

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: negate MAT-TO-NEGATE

Negates the components of the matrix

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: negate MAT-A

Negates the components of the matrix

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: negate MAT-TO-NEGATE

Negates the components of the matrix

Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: negate VEC
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: negate VECTOR-A

Return a vector that is the negative of the vector passed in

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: negate VECTOR-A

Return a vector that is the negative of the vector passed in

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: negate VECTOR-A

Return a vector that is the negative of the vector passed in

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: negate VECTOR-A

Return a vector that is the negative of the vector passed in

Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Function: negate VECTOR-A

Return a vector that is the negative of the vector passed in

Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: negate VECTOR-A

Return a vector that is the negative of the vector passed in

Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: norm QUAT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: normalize QUAT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: normalize QUAT-TO-MUTATE
Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: normalize VEC-A
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: normalize VECTOR-A

This normalizes the vector, it makes sure a zero length vector won’t throw an error.

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: normalize VECTOR-A

This normalizes the vector, it makes sure a zero length vector won’t throw an error.

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: normalize VECTOR-A

This normalizes the vector, it makes sure a zero length vector won’t throw an error.

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: normalize VECTOR-A

This normalizes the vector, it makes sure a zero length vector won’t throw an error.

Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Function: normalize VECTOR-A

This normalizes the vector, it makes sure a zero length vector won’t throw an error.

Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: normalize VECTOR-A

This normalizes the vector, it makes sure a zero length vector won’t throw an error.

Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: origin RAY3
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: origin LINE3
Package

rtg-math.region.line3

Source

regions/line3/consing.lisp (file)

Function: orthographic FRAME-WIDTH FRAME-HEIGHT NEAR FAR
Package

rtg-math.projection

Source

projection/camera.lisp (file)

Function: orthographic-v2 FRAME-SIZE-V2 NEAR FAR
Package

rtg-math.projection

Source

projection/camera.lisp (file)

Function: perp-dot VEC-A VEC-B
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: perp-dot VEC-A VEC-B
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: perspective WIDTH HEIGHT NEAR FAR FOV-DEGREES
Package

rtg-math.projection

Source

projection/camera.lisp (file)

Function: perspective-radian-fov WIDTH HEIGHT NEAR FAR FOV
Package

rtg-math.projection

Source

projection/camera.lisp (file)

Function: perspective-v2 FRAME-SIZE-V2 NEAR FAR FOV-DEGREES
Package

rtg-math.projection

Source

projection/camera.lisp (file)

Function: perspective-v2-radian-fov FRAME-SIZE-V2 NEAR FAR FOV-DEGREES
Package

rtg-math.projection

Source

projection/camera.lisp (file)

Function: point-at UP3 FROM3 TO3
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: point-at UP FROM3 TO3
Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: point-at UP FROM3 TO3
Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: polar->cartesian ANGLE-LENGTH-V2
Package

rtg-math.polar

Source

polar-coords/polar.lisp (file)

Function: q! W X Y Z

This takes 4 floats and give back a vector4, this is just an array but it specifies the array type and populates it. For speed reasons it will not accept integers so make sure you hand it floats.

Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: qconjugate QUAT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: radians-f DEGREES
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Function: rotate VEC3 QUAT

Rotate vec3 by quaternion. Assumes quaternion is normalized.

Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: rotate VEC3-TO-MUTATE QUAT

Rotate vec3 by quaternion. Assumes quaternion is normalized.

Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: rotate VEC ROTATION
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: rotate VEC ANGLE
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: rotate VEC ROTATION
Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: rotate VEC ANGLE
Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: rotation-from-axis-angle AXIS3 ANGLE

Returns a matrix which will rotate a point about the axis specified by the angle provided

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: rotation-from-axis-angle AXIS3 ANGLE

Returns a matrix which will rotate a point about the axis specified by the angle provided

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: rotation-from-euler VEC3-A

This is an unrolled contatenation of rotation matrices x y & z.

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: rotation-from-euler VEC3-A

Returns the transpose of the provided matrix

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: rotation-from-euler ANGLE

Returns the transpose of the provided matrix

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: rotation-from-mat3 M-A

Takes a 3x3 rotation matrix and returns a 4x4 rotation matrix with the same values. The 4th component is filled as an identity matrix would be.

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: rotation-x ANGLE

Returns a matrix which would rotate a point around the x axis by the specified amount

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: rotation-x ANGLE

Returns a matrix which would rotate a point around the x axis by the specified amount

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: rotation-y ANGLE

Returns a matrix which would rotate a point around the y axis by the specified amount

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: rotation-y ANGLE

Returns a matrix which would rotate a point around the y axis by the specified amount

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: rotation-z ANGLE

Returns a matrix which would rotate a point around the z axis by the specified amount

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: rotation-z ANGLE

Returns a matrix which would rotate a point around the z axis by the specified amount

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: saturate VAL-F
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Function: scale SCALE-VEC3

Returns a matrix which will scale by the amounts specified

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: scale SCALE-VEC3

Returns a matrix which will scale by the amounts specified

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: scale SCALE-VEC2

Returns a matrix which will scale by the amounts specified

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: set-components A B C D E F G H I J K L M N O P MAT4-TO-MUTATE

Make a 4x4 matrix. Data must be provided in row major order

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: set-components A B C D E F G H I MAT3-TO-MUTATE

Make a 3x3 matrix. Data must be provided in row major order

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: set-components A B C D MAT2-TO-MUTATE

Make a 2x2 matrix. Data must be provided in row major order

Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: set-components X Y Z W VEC
Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Function: set-components X Y Z VEC
Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: set-components X Y VEC
Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: set-from-columns MAT-TO-MUTATE COL-1 COL-2 COL-3 COL-4

Make a 4x4 matrix using the data in the 4 vector4s provided to populate the columns

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: set-from-columns MAT-TO-MUTATE COL-1 COL-2 COL-3

Make a 3x3 matrix using the data in the 3 vector3s provided to populate the columns

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: set-from-columns MAT-TO-MUTATE COL-1 COL-2

Make a 2x2 matrix using the data in the 2 vector2s provided to populate the columns

Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: set-from-columns-v3 MAT-TO-MUTATE COL-1 COL-2 COL-3

Make a 4x4 matrix using the data in the 3 vector3s provided to populate the columns

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: set-from-mat3 MAT-TO-MUTATE M-A

Takes a 3x3 matrix and returns a 4x4 rotation matrix with the same values. The 4th component is filled as an identity matrix would be.

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: set-from-rotation-x MAT-TO-MUTATE ANGLE

Returns a matrix which would rotate a point around the x axis by the specified amount

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: set-from-rotation-x MAT-TO-MUTATE ANGLE

Returns a matrix which would rotate a point around the x axis by the specified amount

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: set-from-rotation-y MAT-TO-MUTATE ANGLE

Returns a matrix which would rotate a point around the y axis by the specified amount

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: set-from-rotation-y MAT-TO-MUTATE ANGLE

Returns a matrix which would rotate a point around the y axis by the specified amount

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: set-from-rotation-z MAT-TO-MUTATE ANGLE

Returns a matrix which would rotate a point around the z axis by the specified amount

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: set-from-rotation-z MAT-TO-MUTATE ANGLE

Returns a matrix which would rotate a point around the z axis by the specified amount

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: set-from-rows MAT-TO-MUTATE ROW-1 ROW-2 ROW-3 ROW-4

Make a 4x4 matrix using the data in the 4 vector4s provided to populate the rows

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: set-from-rows MAT-TO-MUTATE ROW-1 ROW-2 ROW-3

Make a 3x3 matrix using the data in the 3 vector3s provided to populate the rows

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: set-from-rows MAT-TO-MUTATE ROW-1 ROW-2

Make a 2x2 matrix using the data in the 2 vector2s provided to populate the rows

Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: set-from-rows-v3 MAT-TO-MUTATE ROW-1 ROW-2 ROW-3

Make a 4x4 matrix using the data in the 4 vector4s provided to populate the rows

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: set-from-scale MAT-TO-MUTATE SCALE-VEC3

Returns a matrix which will scale by the amounts specified

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: set-from-scale MAT-TO-MUTATE SCALE-VEC3

Returns a matrix which will scale by the amounts specified

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: set-from-scale MAT-TO-MUTATE SCALE-VEC2

Returns a matrix which will scale by the amounts specified

Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: set-from-translation MAT-TO-MUTATE VEC-A

Takes a vector3 and returns a matrix4 which will translate by the specified amount

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: set-rotation-from-axis-angle MAT-TO-MUTATE AXIS3 ANGLE

Returns a matrix which will rotate a point about the axis specified by the angle provided

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: set-rotation-from-axis-angle MAT-TO-MUTATE AXIS3 ANGLE

Returns a matrix which will rotate a point about the axis specified by the angle provided

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: set-rotation-from-euler MAT-TO-MUTATE VEC3-A

This is an unrolled contatenation of rotation matrices x y & z.

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: set-rotation-from-euler MAT-TO-MUTATE VEC3-A
Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: set-rotation-from-euler MAT-TO-MUTATE ANGLE
Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: slerp START-QUAT END-QUAT POS

Spherically interpolate between two quaternions. Note that this will always take the shortest path.

Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: spherical->cartesian SPHERICAL-COORD-V3

Takes a spherical coord vector with the layout (θ φ ρ) and converts it to a cartesian vector3.

Notes:
θ - angle between υ and x axis (rotating around z) φ - angle between υ and z axis
ρ - distance from origin (lengh of υ)

Package

rtg-math.spherical

Source

spherical-coords/spherical.lisp (file)

Function: spline X KNOTS
Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: spline X KNOTS
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: spline X KNOTS
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: spline X KNOTS
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Function: swizzle VEC PATTERN
Function: (setf swizzle) VALUE VEC PATTERN
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: s~ VEC PATTERN
Function: (setf s~) VALUE VEC PATTERN
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: to-direction QUAT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: to-direction-vec4 QUAT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: to-mat3 QUAT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: to-mat3 MAT-TO-MUTATE QUAT
Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: to-mat3 MAT4
Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: to-mat4 QUAT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: to-mat4 MAT-TO-MUTATE QUAT
Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: to-string MAT
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: trace MATRIX-A
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: trace MAT-A

Returns the trace of the matrix (That is the diagonal values)

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: trace MAT-A

Returns the trace of the matrix (That is the diagonal values)

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: trace MAT-A

Returns the trace of the matrix (That is the diagonal values)

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: transform-m3 MATRIX3 LINE-SEG3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: transform-m3 MATRIX3 RAY3
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: transform-m3 MATRIX3 LINE3
Package

rtg-math.region.line3

Source

regions/line3/consing.lisp (file)

Function: transform-q QUAT LINE-SEG3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: transform-q QUAT RAY3
Package

rtg-math.region.ray3

Source

regions/ray3/consing.lisp (file)

Function: transform-q QUAT LINE3
Package

rtg-math.region.line3

Source

regions/line3/consing.lisp (file)

Function: translation VEC-A

Takes a vector3 and returns a matrix4 which will translate by the specified amount

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: transpose MATRIX-A
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: transpose M-A

Returns the transpose of the provided matrix

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: transpose MAT-TO-TRANSPOSE

Returns the transpose of the provided matrix

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: transpose MAT-A

Returns the transpose of the provided matrix

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: transpose MAT-TO-TRANSPOSE

Returns the transpose of the provided matrix

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: transpose MAT-A

Returns the transpose of the provided matrix

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: transpose MAT-TO-TRANSPOSE

Returns the transpose of the provided matrix

Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: unitp QUAT
Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: unitp MATRIX
Package

rtg-math.matrices

Source

matrices/matrices.lisp (file)

Function: unitp VEC-A
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: unitp VECTOR-A

Checks if the vector is of unit length. As this is a floating point number it checks to see if the length is within the range of 1 + or - and threshold set in base-maths

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: unitp VECTOR-A

Checks if the vector is of unit length. As this is a floating point number it checks to see if the length is within the range of 1 + or - and threshold set in base-maths

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: unitp VECTOR-A

Checks if the vector is of unit length. As this is a floating point number it checks to see if the length is within the range of 1 + or - and threshold set in base-maths

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: v! &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!bool &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!byte &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!double &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!int &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!int8 &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!ubyte &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!uint &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!uint8 &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v2! X &optional Y
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v2!byte X &optional Y
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v2!double X &optional Y
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v2!int X &optional Y
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v2!int8 X &optional Y
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v2!short X &optional Y
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v2!ubyte X &optional Y
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v2!uint X &optional Y
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v2!uint8 X &optional Y
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v2!ushort X &optional Y
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v3! X &optional Y Z
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v3!byte X &optional Y Z
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v3!double X &optional Y Z
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v3!int X &optional Y Z
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v3!int8 X &optional Y Z
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v3!short X &optional Y Z
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v3!ubyte X &optional Y Z
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v3!uint X &optional Y Z
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v3!uint8 X &optional Y Z
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v3!ushort X &optional Y Z
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v4! X &optional Y Z W
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v4!byte X &optional Y Z W
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v4!double X &optional Y Z W
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v4!int X &optional Y Z W
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v4!int8 X &optional Y Z W
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v4!short X &optional Y Z W
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v4!ubyte X &optional Y Z W
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v4!uint X &optional Y Z W
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v4!uint8 X &optional Y Z W
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v4!ushort X &optional Y Z W
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: w QUAT
Function: (setf w) VALUE QUAT

Returns the w component of the quaternion

Package

%rtg-math.quaternion.common

Source

quaternions/common.lisp (file)

Function: w VEC

Returns the w component of the vector

Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Writer

(setf w) (function)

Function: (setf w) VALUE VEC

Sets the w component of the vector

Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Reader

w (function)

Function: x QUAT
Function: (setf x) VALUE QUAT

Returns the x component of the quaternion

Package

%rtg-math.quaternion.common

Source

quaternions/common.lisp (file)

Function: x VEC

Returns the x component of the vector

Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Writer

(setf x) (function)

Function: (setf x) VALUE VEC

Sets the x component of the vector

Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Reader

x (function)

Function: y QUAT
Function: (setf y) VALUE QUAT

Returns the y component of the quaternion

Package

%rtg-math.quaternion.common

Source

quaternions/common.lisp (file)

Function: y VEC

Returns the y component of the vector

Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Writer

(setf y) (function)

Function: (setf y) VALUE VEC

Sets the y component of the vector

Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Reader

y (function)

Function: z QUAT
Function: (setf z) VALUE QUAT

Returns the z component of the quaternion

Package

%rtg-math.quaternion.common

Source

quaternions/common.lisp (file)

Function: z VEC

Returns the z component of the vector

Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Writer

(setf z) (function)

Function: (setf z) VALUE VEC

Sets the z component of the vector

Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Reader

z (function)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.5 Generic functions

Generic Function: closest-point REG-A VEC3
Package

rtg-math.region

Source

regions/regions.lisp (file)

Methods
Method: closest-point (POINT-VEC3 array) (REG line-segment3)
Method: closest-point (REG line-segment3) (POINT-VEC3 array)
Method: closest-point (POINT-VEC3 array) (REG ray3)
Method: closest-point (REG ray3) (POINT-VEC3 array)
Method: closest-point (POINT-VEC3 array) (REG line3)
Method: closest-point (REG line3) (POINT-VEC3 array)
Generic Function: closest-points REG-A REG-B
Package

rtg-math.region

Source

regions/regions.lisp (file)

Methods
Method: closest-points (REG-A line3) (REG-B line-segment3)
Method: closest-points (REG-A line-segment3) (REG-B line3)
Method: closest-points (REG-A ray3) (REG-B line-segment3)
Method: closest-points (REG-A line-segment3) (REG-B ray3)
Method: closest-points (REG-A line-segment3) (REG-B line-segment3)
Method: closest-points (REG-A ray3) (REG-B ray3)
Method: closest-points (REG-A line3) (REG-B line3)
Generic Function: distance REG-A REG-B
Package

rtg-math.region

Source

regions/regions.lisp (file)

Methods
Method: distance (REG-A line-segment3) (REG-B line3)
Method: distance (REG-A line3) (REG-B line-segment3)
Method: distance (REG-A line-segment3) (REG-B ray3)
Method: distance (REG-A ray3) (REG-B line-segment3)
Method: distance (REG-A line3) (REG-B ray3)
Method: distance (REG-A ray3) (REG-B line3)
Method: distance (REG-A line3) (REG-B line3)
Method: distance (REG-A ray3) (REG-B ray3)
Method: distance (REG-A line-segment3) (REG-B line-segment3)
Generic Function: distance-squared REG-A REG-B
Package

rtg-math.region

Source

regions/regions.lisp (file)

Methods
Method: distance-squared (REG-A line-segment3) (REG-B line3)
Method: distance-squared (REG-A line3) (REG-B line-segment3)
Method: distance-squared (REG-A line-segment3) (REG-B ray3)
Method: distance-squared (REG-A ray3) (REG-B line-segment3)
Method: distance-squared (REG-A line3) (REG-B ray3)
Method: distance-squared (REG-A ray3) (REG-B line3)
Method: distance-squared (REG-A line3) (REG-B line3)
Method: distance-squared (REG-A ray3) (REG-B ray3)
Method: distance-squared (REG-A line-segment3) (REG-B line-segment3)
Generic Function: intersects-p REG-A REG-B
Package

rtg-math.region

Source

regions/regions.lisp (file)

Methods
Method: intersects-p (REG-A axis-aligned-box) (REG-B axis-aligned-box)
Method: intersects-p (REG-A line-segment3) (REG-B axis-aligned-box)
Method: intersects-p (REG-A axis-aligned-box) (REG-B line-segment3)
Method: intersects-p (REG-A ray3) (REG-B axis-aligned-box)
Method: intersects-p (REG-A axis-aligned-box) (REG-B ray3)
Method: intersects-p (REG-A line3) (REG-B axis-aligned-box)
Method: intersects-p (REG-A axis-aligned-box) (REG-B line3)

Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.6 Structures

Structure: axis-aligned-box ()
Package

rtg-math.types

Source

deftypes.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods
Direct slots
Slot: minima
Type

glsl-symbols.types:vec3

Initform

(make-array 3 :element-type (quote single-float) :initial-element -1.0)

Readers

axis-aligned-box-minima (function)

Writers

(setf axis-aligned-box-minima) (function)

Slot: maxima
Type

glsl-symbols.types:vec3

Initform

(make-array 3 :element-type (quote single-float) :initial-element 1.0)

Readers

axis-aligned-box-maxima (function)

Writers

(setf axis-aligned-box-maxima) (function)

Structure: line-segment3 ()
Package

rtg-math.types

Source

deftypes.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods
Direct slots
Slot: end-point0
Type

glsl-symbols.types:vec3

Initform

(make-array 3 :element-type (quote single-float) :initial-element 0.0)

Readers

line-segment3-end-point0 (function)

Writers

(setf line-segment3-end-point0) (function)

Slot: offset
Type

glsl-symbols.types:vec3

Initform

(make-array 3 :element-type (quote single-float) :initial-contents (quote (0.0 1.0 0.0)))

Readers

line-segment3-offset (function)

Writers

(setf line-segment3-offset) (function)

Structure: line3 ()
Package

rtg-math.types

Source

deftypes.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods
Direct slots
Slot: origin
Type

glsl-symbols.types:vec3

Initform

(make-array 3 :element-type (quote single-float) :initial-element 0.0)

Readers

line3-origin (function)

Writers

(setf line3-origin) (function)

Slot: direction
Type

glsl-symbols.types:vec3

Initform

(make-array 3 :element-type (quote single-float) :initial-element 1.0)

Readers

line3-direction (function)

Writers

(setf line3-direction) (function)

Structure: ray3 ()
Package

rtg-math.types

Source

deftypes.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods
Direct slots
Slot: origin
Type

glsl-symbols.types:vec3

Initform

(make-array 3 :element-type (quote single-float) :initial-element 0.0)

Readers

ray3-origin (function)

Writers

(setf ray3-origin) (function)

Slot: direction
Type

glsl-symbols.types:vec3

Initform

(make-array 3 :element-type (quote single-float) :initial-element 1.0)

Readers

ray3-direction (function)

Writers

(setf ray3-direction) (function)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.7 Types

Type: int8-vec2 ()
Package

rtg-math.types

Source

deftypes.lisp (file)

Type: int8-vec3 ()
Package

rtg-math.types

Source

deftypes.lisp (file)

Type: int8-vec4 ()
Package

rtg-math.types

Source

deftypes.lisp (file)

Type: quaternion ()
Package

rtg-math.types

Source

deftypes.lisp (file)

Type: uint8-vec2 ()
Package

rtg-math.types

Source

deftypes.lisp (file)

Type: uint8-vec3 ()
Package

rtg-math.types

Source

deftypes.lisp (file)

Type: uint8-vec4 ()
Package

rtg-math.types

Source

deftypes.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Constants

Constant: +k-epsilon+
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Constant: +one-radian-in-degrees+
Package

rtg-math.base-maths

Source

base-maths.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Special variables

Special Variable: *coef*
Package

rtg-math.base-maths

Source

base-maths.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Macros

Macro: def-v! NAME TYPE
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Macro: dvec VAR-LIST EXPRESSION &body BODY
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Macro: dvec* VAR-LIST-EXPRESSION-PAIRS &body BODY
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Compiler macros

Compiler Macro: v!short &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Compiler Macro: v!ushort &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.5 Functions

Function: %* MAT-A MAT-B

Multiplies 2 matrices and returns the result as a new matrix

Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: %* MAT-ACCUM TO-MULTIPLY-MAT

Multiplies 2 matrices and returns the result as a new matrix

Package

rtg-math.matrix4.non-consing

Source

matrices/matrix4/non-consing.lisp (file)

Function: %* MAT-A MAT-B

Multiplies 2 matrices and returns the result as a new matrix

Package

rtg-math.matrix3

Source

matrices/matrix3/consing.lisp (file)

Function: %* MAT-ACCUM TO-MULTIPLY-MAT

Multiplies 2 matrices and returns the result as a new matrix

Package

rtg-math.matrix3.non-consing

Source

matrices/matrix3/non-consing.lisp (file)

Function: %* MAT-A MAT-B

Multiplies 2 matrices and returns the result as a new matrix

Package

rtg-math.matrix2

Source

matrices/matrix2/consing.lisp (file)

Function: %* MAT-ACCUM TO-MULTIPLY-MAT

Multiplies 2 matrices and returns the result as a new matrix

Package

rtg-math.matrix2.non-consing

Source

matrices/matrix2/non-consing.lisp (file)

Function: %* ACCUM-VEC TO-MULT-VEC

Add two vectors and return a new vector containing the result

Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Function: %* ACCUM-VEC TO-MULT-VEC

Add two vectors and return a new vector containing the result

Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: %* ACCUM-VEC TO-MULT-VEC

Add two vectors and return a new vector containing the result

Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: %+ QUAT-A QUAT-B

Add two quats and return a new quat containing the result

Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: %+ ()

Add two quattors and return a new quattor containing the result

Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: %+ VECTOR-A VECTOR-B

Add two vectors and return a new vector containing the result

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: %+ VECTOR-A VECTOR-B

Add two vectors and return a new vector containing the result

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: %+ VECTOR-A VECTOR-B

Add two vectors and return a new vector containing the result

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: %+ ACCUM-VEC TO-ADD-VEC

Add two vectors and return a new vector containing the result

Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Function: %+ ACCUM-VEC TO-ADD-VEC

Add two vectors and return a new vector containing the result

Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: %+ ACCUM-VEC TO-ADD-VEC

Add two vectors and return a new vector containing the result

Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: %- QUAT-A QUAT-B

Add two quats and return a new quat containing the result

Package

rtg-math.quaternions

Source

quaternions/consing.lisp (file)

Function: %- ACCUM-QUAT TO-ADD-QUAT

Add two quattors and return a new quattor containing the result

Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: %- VECTOR-A VECTOR-B

Subtract two vectors and return a new vector containing the result

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: %- VECTOR-A VECTOR-B

Subtract two vectors and return a new vector containing the result

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: %- VECTOR-A VECTOR-B

Subtract two vectors and return a new vector containing the result

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: %- ACCUM-VEC TO-ADD-VEC

Add two vectors and return a new vector containing the result

Package

rtg-math.vector4.non-consing

Source

vectors/vector4/non-consing.lisp (file)

Function: %- ACCUM-VEC TO-ADD-VEC

Add two vectors and return a new vector containing the result

Package

rtg-math.vector3.non-consing

Source

vectors/vector3/non-consing.lisp (file)

Function: %- ACCUM-VEC TO-ADD-VEC

Add two vectors and return a new vector containing the result

Package

rtg-math.vector2.non-consing

Source

vectors/vector2/non-consing.lisp (file)

Function: %decf VEC DELTA
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: %defn NAME TYPED-ARGS RESULT-TYPES INLINABLE-P INLINE-P BODY
Package

%rtg-math

Source

utils.lisp (file)

Function: %incf VEC DELTA
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: %make-vector X Y &optional Z W

This takes floats and give back a vector, this is just an array but it specifies the array type and populates it.

Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: %seg-to-ray-internals LINE-SEG3 RAY3

Returns: dir-a dir-b w0 tc sc

Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: %seg-to-seg-internals LINE-SEG-A LINE-SEG-B

Returns: dir-a dir-b w0 tc sc

Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: *v VECTOR-A VECTOR-B

Multiplies components, is not dot product, not sure what i’ll need this for yet but hey!

Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: *v VECTOR-A VECTOR-B

Multiplies components

Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: *v VECTOR-A VECTOR-B

Multiplies components, is not dot product, not sure what i’ll need this for yet but hey!

Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: /= LINE3-A LINE3-B
Package

rtg-math.region.line3

Source

regions/line3/consing.lisp (file)

Function: = LINE3-A LINE3-B
Package

rtg-math.region.line3

Source

regions/line3/consing.lisp (file)

Function: axis-aligned-box-maxima INSTANCE
Function: (setf axis-aligned-box-maxima) VALUE INSTANCE
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: axis-aligned-box-minima INSTANCE
Function: (setf axis-aligned-box-minima) VALUE INSTANCE
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: axis-aligned-box-p OBJECT
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: bias B X
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Function: closest-point-on-line LINE POINT
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: closest-point-on-norm-line LINE POINT
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: copy-axis-aligned-box INSTANCE
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: copy-line-segment3 INSTANCE
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: copy-line3 INSTANCE
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: copy-ray3 INSTANCE
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: distance-to-line-sq LINE POINT
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: distance-to-norm-line-sq LINE POINT
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: floatify VEC
Package

rtg-math.vectors

Source

vectors/vectors.lisp (file)

Function: from-fixed-angles-unnormalized QUAT-TO-MUTATE X-ROT Y-ROT Z-ROT
Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: gain G X
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Function: line-segment3-end-point0 INSTANCE
Function: (setf line-segment3-end-point0) VALUE INSTANCE
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: line-segment3-end-point1 LINE-SEG3
Package

rtg-math.region.line-segment3

Source

regions/line-segment3/consing.lisp (file)

Function: line-segment3-offset INSTANCE
Function: (setf line-segment3-offset) VALUE INSTANCE
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: line-segment3-p OBJECT
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: line3-direction INSTANCE
Function: (setf line3-direction) VALUE INSTANCE
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: line3-origin INSTANCE
Function: (setf line3-origin) VALUE INSTANCE
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: line3-p OBJECT
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: m!one-arg X
Package

rtg-math.base-matrices

Source

matrices/base-matrices.lisp (file)

Function: make-axis-aligned-box &key (MINIMA MINIMA) (MAXIMA MAXIMA)
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: make-line-segment3 &key (END-POINT0 END-POINT0) (OFFSET OFFSET)
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: make-line3 &key (ORIGIN ORIGIN) (DIRECTION DIRECTION)
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: make-ray3 &key (ORIGIN ORIGIN) (DIRECTION DIRECTION)
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: parse-defn-args TYPED-ARGS RESULT-TYPES
Package

%rtg-math

Source

utils.lisp (file)

Function: print-m4 M4
Package

rtg-math.matrix4

Source

matrices/matrix4/consing.lisp (file)

Function: ray3-direction INSTANCE
Function: (setf ray3-direction) VALUE INSTANCE
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: ray3-origin INSTANCE
Function: (setf ray3-origin) VALUE INSTANCE
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: ray3-p OBJECT
Package

rtg-math.types

Source

deftypes.lisp (file)

Function: set-components W X Y Z QUAT
Package

rtg-math.quaternions.non-consing

Source

quaternions/non-consing.lisp (file)

Function: sfzero-p F
Package

rtg-math.base-maths

Source

base-maths.lisp (file)

Function: stable-lerp VECTOR-A VECTOR-B AMMOUNT
Package

rtg-math.vector4

Source

vectors/vector4/consing.lisp (file)

Function: stable-lerp VECTOR-A VECTOR-B AMMOUNT
Package

rtg-math.vector3

Source

vectors/vector3/consing.lisp (file)

Function: stable-lerp VECTOR-A VECTOR-B AMMOUNT
Package

rtg-math.vector2

Source

vectors/vector2/consing.lisp (file)

Function: unit-spherical->unit-cartesian UNIT-SPHERICAL-COORD
Package

rtg-math.spherical

Source

spherical-coords/spherical.lisp (file)

Function: v!bool-one-arg X
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!one-arg-v! X
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!one-arg-v!byte X
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!one-arg-v!double X
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!one-arg-v!int X
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!one-arg-v!int8 X
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!one-arg-v!short X
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!one-arg-v!ubyte X
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!one-arg-v!uint X
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!one-arg-v!uint8 X
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!one-arg-v!ushort X
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!short &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)

Function: v!ushort &rest COMPONENTS
Package

rtg-math.base-vectors

Source

vectors/base-vectors.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   R  
Index Entry  Section

F
File, Lisp, rtg-math.asd: The rtg-math<dot>asd file
File, Lisp, rtg-math/base-maths.lisp: The rtg-math/base-maths<dot>lisp file
File, Lisp, rtg-math/deftypes.lisp: The rtg-math/deftypes<dot>lisp file
File, Lisp, rtg-math/matrices/base-matrices.lisp: The rtg-math/matrices/base-matrices<dot>lisp file
File, Lisp, rtg-math/matrices/matrices.lisp: The rtg-math/matrices/matrices<dot>lisp file
File, Lisp, rtg-math/matrices/matrix2/common.lisp: The rtg-math/matrices/matrix2/common<dot>lisp file
File, Lisp, rtg-math/matrices/matrix2/consing.lisp: The rtg-math/matrices/matrix2/consing<dot>lisp file
File, Lisp, rtg-math/matrices/matrix2/non-consing.lisp: The rtg-math/matrices/matrix2/non-consing<dot>lisp file
File, Lisp, rtg-math/matrices/matrix3/common.lisp: The rtg-math/matrices/matrix3/common<dot>lisp file
File, Lisp, rtg-math/matrices/matrix3/consing.lisp: The rtg-math/matrices/matrix3/consing<dot>lisp file
File, Lisp, rtg-math/matrices/matrix3/non-consing.lisp: The rtg-math/matrices/matrix3/non-consing<dot>lisp file
File, Lisp, rtg-math/matrices/matrix4/common.lisp: The rtg-math/matrices/matrix4/common<dot>lisp file
File, Lisp, rtg-math/matrices/matrix4/consing.lisp: The rtg-math/matrices/matrix4/consing<dot>lisp file
File, Lisp, rtg-math/matrices/matrix4/non-consing.lisp: The rtg-math/matrices/matrix4/non-consing<dot>lisp file
File, Lisp, rtg-math/package.lisp: The rtg-math/package<dot>lisp file
File, Lisp, rtg-math/polar-coords/polar.lisp: The rtg-math/polar-coords/polar<dot>lisp file
File, Lisp, rtg-math/projection/camera.lisp: The rtg-math/projection/camera<dot>lisp file
File, Lisp, rtg-math/quaternions/common.lisp: The rtg-math/quaternions/common<dot>lisp file
File, Lisp, rtg-math/quaternions/consing.lisp: The rtg-math/quaternions/consing<dot>lisp file
File, Lisp, rtg-math/quaternions/non-consing.lisp: The rtg-math/quaternions/non-consing<dot>lisp file
File, Lisp, rtg-math/regions/aab/common.lisp: The rtg-math/regions/aab/common<dot>lisp file
File, Lisp, rtg-math/regions/aab/consing.lisp: The rtg-math/regions/aab/consing<dot>lisp file
File, Lisp, rtg-math/regions/aab/non-consing.lisp: The rtg-math/regions/aab/non-consing<dot>lisp file
File, Lisp, rtg-math/regions/line-segment3/consing.lisp: The rtg-math/regions/line-segment3/consing<dot>lisp file
File, Lisp, rtg-math/regions/line3/consing.lisp: The rtg-math/regions/line3/consing<dot>lisp file
File, Lisp, rtg-math/regions/ray3/consing.lisp: The rtg-math/regions/ray3/consing<dot>lisp file
File, Lisp, rtg-math/regions/regions.lisp: The rtg-math/regions/regions<dot>lisp file
File, Lisp, rtg-math/spherical-coords/spherical.lisp: The rtg-math/spherical-coords/spherical<dot>lisp file
File, Lisp, rtg-math/utils.lisp: The rtg-math/utils<dot>lisp file
File, Lisp, rtg-math/vectors/base-vectors.lisp: The rtg-math/vectors/base-vectors<dot>lisp file
File, Lisp, rtg-math/vectors/vector2/consing.lisp: The rtg-math/vectors/vector2/consing<dot>lisp file
File, Lisp, rtg-math/vectors/vector2/non-consing.lisp: The rtg-math/vectors/vector2/non-consing<dot>lisp file
File, Lisp, rtg-math/vectors/vector3/consing.lisp: The rtg-math/vectors/vector3/consing<dot>lisp file
File, Lisp, rtg-math/vectors/vector3/non-consing.lisp: The rtg-math/vectors/vector3/non-consing<dot>lisp file
File, Lisp, rtg-math/vectors/vector4/consing.lisp: The rtg-math/vectors/vector4/consing<dot>lisp file
File, Lisp, rtg-math/vectors/vector4/non-consing.lisp: The rtg-math/vectors/vector4/non-consing<dot>lisp file
File, Lisp, rtg-math/vectors/vectors.lisp: The rtg-math/vectors/vectors<dot>lisp file

L
Lisp File, rtg-math.asd: The rtg-math<dot>asd file
Lisp File, rtg-math/base-maths.lisp: The rtg-math/base-maths<dot>lisp file
Lisp File, rtg-math/deftypes.lisp: The rtg-math/deftypes<dot>lisp file
Lisp File, rtg-math/matrices/base-matrices.lisp: The rtg-math/matrices/base-matrices<dot>lisp file
Lisp File, rtg-math/matrices/matrices.lisp: The rtg-math/matrices/matrices<dot>lisp file
Lisp File, rtg-math/matrices/matrix2/common.lisp: The rtg-math/matrices/matrix2/common<dot>lisp file
Lisp File, rtg-math/matrices/matrix2/consing.lisp: The rtg-math/matrices/matrix2/consing<dot>lisp file
Lisp File, rtg-math/matrices/matrix2/non-consing.lisp: The rtg-math/matrices/matrix2/non-consing<dot>lisp file
Lisp File, rtg-math/matrices/matrix3/common.lisp: The rtg-math/matrices/matrix3/common<dot>lisp file
Lisp File, rtg-math/matrices/matrix3/consing.lisp: The rtg-math/matrices/matrix3/consing<dot>lisp file
Lisp File, rtg-math/matrices/matrix3/non-consing.lisp: The rtg-math/matrices/matrix3/non-consing<dot>lisp file
Lisp File, rtg-math/matrices/matrix4/common.lisp: The rtg-math/matrices/matrix4/common<dot>lisp file
Lisp File, rtg-math/matrices/matrix4/consing.lisp: The rtg-math/matrices/matrix4/consing<dot>lisp file
Lisp File, rtg-math/matrices/matrix4/non-consing.lisp: The rtg-math/matrices/matrix4/non-consing<dot>lisp file
Lisp File, rtg-math/package.lisp: The rtg-math/package<dot>lisp file
Lisp File, rtg-math/polar-coords/polar.lisp: The rtg-math/polar-coords/polar<dot>lisp file
Lisp File, rtg-math/projection/camera.lisp: The rtg-math/projection/camera<dot>lisp file
Lisp File, rtg-math/quaternions/common.lisp: The rtg-math/quaternions/common<dot>lisp file
Lisp File, rtg-math/quaternions/consing.lisp: The rtg-math/quaternions/consing<dot>lisp file
Lisp File, rtg-math/quaternions/non-consing.lisp: The rtg-math/quaternions/non-consing<dot>lisp file
Lisp File, rtg-math/regions/aab/common.lisp: The rtg-math/regions/aab/common<dot>lisp file
Lisp File, rtg-math/regions/aab/consing.lisp: The rtg-math/regions/aab/consing<dot>lisp file
Lisp File, rtg-math/regions/aab/non-consing.lisp: The rtg-math/regions/aab/non-consing<dot>lisp file
Lisp File, rtg-math/regions/line-segment3/consing.lisp: The rtg-math/regions/line-segment3/consing<dot>lisp file
Lisp File, rtg-math/regions/line3/consing.lisp: The rtg-math/regions/line3/consing<dot>lisp file
Lisp File, rtg-math/regions/ray3/consing.lisp: The rtg-math/regions/ray3/consing<dot>lisp file
Lisp File, rtg-math/regions/regions.lisp: The rtg-math/regions/regions<dot>lisp file
Lisp File, rtg-math/spherical-coords/spherical.lisp: The rtg-math/spherical-coords/spherical<dot>lisp file
Lisp File, rtg-math/utils.lisp: The rtg-math/utils<dot>lisp file
Lisp File, rtg-math/vectors/base-vectors.lisp: The rtg-math/vectors/base-vectors<dot>lisp file
Lisp File, rtg-math/vectors/vector2/consing.lisp: The rtg-math/vectors/vector2/consing<dot>lisp file
Lisp File, rtg-math/vectors/vector2/non-consing.lisp: The rtg-math/vectors/vector2/non-consing<dot>lisp file
Lisp File, rtg-math/vectors/vector3/consing.lisp: The rtg-math/vectors/vector3/consing<dot>lisp file
Lisp File, rtg-math/vectors/vector3/non-consing.lisp: The rtg-math/vectors/vector3/non-consing<dot>lisp file
Lisp File, rtg-math/vectors/vector4/consing.lisp: The rtg-math/vectors/vector4/consing<dot>lisp file
Lisp File, rtg-math/vectors/vector4/non-consing.lisp: The rtg-math/vectors/vector4/non-consing<dot>lisp file
Lisp File, rtg-math/vectors/vectors.lisp: The rtg-math/vectors/vectors<dot>lisp file

R
rtg-math.asd: The rtg-math<dot>asd file
rtg-math/base-maths.lisp: The rtg-math/base-maths<dot>lisp file
rtg-math/deftypes.lisp: The rtg-math/deftypes<dot>lisp file
rtg-math/matrices/base-matrices.lisp: The rtg-math/matrices/base-matrices<dot>lisp file
rtg-math/matrices/matrices.lisp: The rtg-math/matrices/matrices<dot>lisp file
rtg-math/matrices/matrix2/common.lisp: The rtg-math/matrices/matrix2/common<dot>lisp file
rtg-math/matrices/matrix2/consing.lisp: The rtg-math/matrices/matrix2/consing<dot>lisp file
rtg-math/matrices/matrix2/non-consing.lisp: The rtg-math/matrices/matrix2/non-consing<dot>lisp file
rtg-math/matrices/matrix3/common.lisp: The rtg-math/matrices/matrix3/common<dot>lisp file
rtg-math/matrices/matrix3/consing.lisp: The rtg-math/matrices/matrix3/consing<dot>lisp file
rtg-math/matrices/matrix3/non-consing.lisp: The rtg-math/matrices/matrix3/non-consing<dot>lisp file
rtg-math/matrices/matrix4/common.lisp: The rtg-math/matrices/matrix4/common<dot>lisp file
rtg-math/matrices/matrix4/consing.lisp: The rtg-math/matrices/matrix4/consing<dot>lisp file
rtg-math/matrices/matrix4/non-consing.lisp: The rtg-math/matrices/matrix4/non-consing<dot>lisp file
rtg-math/package.lisp: The rtg-math/package<dot>lisp file
rtg-math/polar-coords/polar.lisp: The rtg-math/polar-coords/polar<dot>lisp file
rtg-math/projection/camera.lisp: The rtg-math/projection/camera<dot>lisp file
rtg-math/quaternions/common.lisp: The rtg-math/quaternions/common<dot>lisp file
rtg-math/quaternions/consing.lisp: The rtg-math/quaternions/consing<dot>lisp file
rtg-math/quaternions/non-consing.lisp: The rtg-math/quaternions/non-consing<dot>lisp file
rtg-math/regions/aab/common.lisp: The rtg-math/regions/aab/common<dot>lisp file
rtg-math/regions/aab/consing.lisp: The rtg-math/regions/aab/consing<dot>lisp file
rtg-math/regions/aab/non-consing.lisp: The rtg-math/regions/aab/non-consing<dot>lisp file
rtg-math/regions/line-segment3/consing.lisp: The rtg-math/regions/line-segment3/consing<dot>lisp file
rtg-math/regions/line3/consing.lisp: The rtg-math/regions/line3/consing<dot>lisp file
rtg-math/regions/ray3/consing.lisp: The rtg-math/regions/ray3/consing<dot>lisp file
rtg-math/regions/regions.lisp: The rtg-math/regions/regions<dot>lisp file
rtg-math/spherical-coords/spherical.lisp: The rtg-math/spherical-coords/spherical<dot>lisp file
rtg-math/utils.lisp: The rtg-math/utils<dot>lisp file
rtg-math/vectors/base-vectors.lisp: The rtg-math/vectors/base-vectors<dot>lisp file
rtg-math/vectors/vector2/consing.lisp: The rtg-math/vectors/vector2/consing<dot>lisp file
rtg-math/vectors/vector2/non-consing.lisp: The rtg-math/vectors/vector2/non-consing<dot>lisp file
rtg-math/vectors/vector3/consing.lisp: The rtg-math/vectors/vector3/consing<dot>lisp file
rtg-math/vectors/vector3/non-consing.lisp: The rtg-math/vectors/vector3/non-consing<dot>lisp file
rtg-math/vectors/vector4/consing.lisp: The rtg-math/vectors/vector4/consing<dot>lisp file
rtg-math/vectors/vector4/non-consing.lisp: The rtg-math/vectors/vector4/non-consing<dot>lisp file
rtg-math/vectors/vectors.lisp: The rtg-math/vectors/vectors<dot>lisp file

Jump to:   F   L   R  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (   *   +   -   /   0   1   =  
A   B   C   D   E   F   G   I   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
Index Entry  Section

%
%*: Internal functions
%*: Internal functions
%*: Internal functions
%*: Internal functions
%*: Internal functions
%*: Internal functions
%*: Internal functions
%*: Internal functions
%*: Internal functions
%+: Internal functions
%+: Internal functions
%+: Internal functions
%+: Internal functions
%+: Internal functions
%+: Internal functions
%+: Internal functions
%+: Internal functions
%-: Internal functions
%-: Internal functions
%-: Internal functions
%-: Internal functions
%-: Internal functions
%-: Internal functions
%-: Internal functions
%-: Internal functions
%decf: Internal functions
%defn: Internal functions
%incf: Internal functions
%make-vector: Internal functions
%seg-to-ray-internals: Internal functions
%seg-to-seg-internals: Internal functions

(
(setf axis-aligned-box-maxima): Internal functions
(setf axis-aligned-box-minima): Internal functions
(setf line-segment3-end-point0): Internal functions
(setf line-segment3-offset): Internal functions
(setf line3-direction): Internal functions
(setf line3-origin): Internal functions
(setf melm): Exported functions
(setf melm): Exported functions
(setf melm): Exported functions
(setf ray3-direction): Internal functions
(setf ray3-origin): Internal functions
(setf swizzle): Exported functions
(setf s~): Exported functions
(setf w): Exported functions
(setf w): Exported functions
(setf x): Exported functions
(setf x): Exported functions
(setf y): Exported functions
(setf y): Exported functions
(setf z): Exported functions
(setf z): Exported functions

*
*: Exported compiler macros
*: Exported compiler macros
*: Exported compiler macros
*: Exported compiler macros
*: Exported compiler macros
*: Exported compiler macros
*: Exported compiler macros
*: Exported compiler macros
*: Exported compiler macros
*: Exported compiler macros
*: Exported compiler macros
*: Exported compiler macros