-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathtypes-docs.lisp
More file actions
59 lines (57 loc) · 1.33 KB
/
types-docs.lisp
File metadata and controls
59 lines (57 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
(in-package :rtg-math.types)
;;----------------------------------------------------------------
(docs:define-docs
(deftype vec2
"
A `simple-array` of 2 `single-float`s")
(deftype vec3
"
A `simple-array` of 3 `single-float`s")
(deftype vec4
"
A `simple-array` of 4 `single-float`s")
(deftype ivec2
"
A `simple-array` of 2 `(signed-byte 32)`s")
(deftype ivec3
"
A `simple-array` of 3 `(signed-byte 32)`s")
(deftype ivec4
"
A `simple-array` of 4 `(signed-byte 32)`s")
(deftype uvec2
"
A `simple-array` of 2 `(unsigned-byte 32)`s")
(deftype uvec3
"
A `simple-array` of 3 `(unsigned-byte 32)`s")
(deftype uvec4
"
A `simple-array` of 4 `(unsigned-byte 32)`s")
(deftype int8-vec2
"
A `simple-array` of 2 `(signed-byte 8)`s")
(deftype int8-vec3
"
A `simple-array` of 3 `(signed-byte 8)`s")
(deftype int8-vec4
"
A `simple-array` of 4 `(signed-byte 8)`s")
(deftype uint8-vec2
"
A `simple-array` of 2 `(unsigned-byte 8)`s")
(deftype uint8-vec3
"
A `simple-array` of 3 `(unsigned-byte 8)`s")
(deftype uint8-vec4
"
A `simple-array` of 4 `(unsigned-byte 8)`s")
(deftype mat2
"
A `simple-array` of 4 `single-float`s")
(deftype mat3
"
A `simple-array` of 9 `single-float`s")
(deftype mat4
"
A `simple-array` of 16 `single-float`s"))