-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpackage.lisp
142 lines (118 loc) · 4.96 KB
/
package.lisp
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
;;;; package.lisp
;;;; Please see the licence.txt for the CLinch
(defpackage #:clinch
(:use #:cl)
;;(:shadow )
(:import-from :rtg-math.vectors :v!)
(:export
#:*uncollected*
#:defevent
#:*controllers*
#:*haptic*
#:*texture*
#:*entity*
;; run in main (opengl) thread. Returns when done.
#:!
;; run in main (opengl) thread but returns immediately.
#:!!
;; Make a vector from the arguments
#:v!
;; shortcut to reset an object
#:!0
;; shortcuts to reset node translation, rotation and scaling respectively.
#:!t0 #:!r0 #:!s0
;; shortcuts to set or perform node translation, rotation and scaling respectively.
#:!t #:!r #:!s
;; shortcuts to pullg and pushg respectively (setf (!> obj) value) works too.
#:!> #:!<
#:pullg #:pushg
#:!reset #:!reset-translation #:!reset-rotation #:!reset-scaling
#:rotation
#:scaling
#:scale
#:translation
#:children
#:transform
#:translate
#:rotate
#:resize
#:n*
#:decompose-transform
#:init
#:uninit
#:*root*
#:*window*
#:*context*
#:*fbo*
#:*projection*
#:*ortho-projection*
#:*viewport*
#:*node*
#:*ticks* #:*delta-ticks*
#:*default-on-idle*
#:*next*
#:*on-window-size-changed*
#:*on-window-resized*
#:*on-window-hidden*
#:*on-window-exposed*
#:*on-window-moved*
#:*on-window-minimized*
#:*on-window-maximized*
#:*on-window-restored*
#:*on-window-enter*
#:*on-window-leave*
#:*on-window-focus-gained*
#:*on-window-focus-lost*
#:*on-window-close*
#:*on-key-down*
#:*on-key-up*
#:*on-mouse-move*
#:*on-mouse-down*
#:*on-mouse-up*
#:*on-mouse-click*
#:*on-mouse-double-click*
#:*on-mouse-wheel-move*
#:*on-controller-button-down*
#:*on-controller-button-up*
#:*on-controller-added*
#:*on-controller-removed*
#:*on-controller-remapped*
#:*on-controller-axis-move*
#:*on-idle*
#:*on-quit*
#:*on-text-editing*
#:*on-text-input*
#:unload-all-uncollected
#:shader-program #:name
#:get-generic-single-color-shader
#:get-generic-per-vertex-color-shader
#:get-generic-solid-phong-shader
#:get-generic-single-texture-shader
#:get-generic-single-diffuse-light-shader
#:get-generic-single-diffuse-light-animation-shader
#:get-generic-single-diffuse-light-per-vertex-color-shader
#:shader-source #:program #:shader-compile #:frag-shader #:vert-shader #:attributes #:with-attributes #:uniforms #:with-uniforms #:use-shader-program #:get-uniform-id #:get-attribute-id #:attach-uniform #:unload #:bind-static-values-to-attribute
#:buffer #:index-buffer #:id #:qtype #:usage #:stride #:vertex-count #:target #:loaded #:get-size #:size-in-bytes #:bind-buffer-to-vertex-array #:bind-buffer-to-attribute-array #:draw-with-index-buffer #:draw-with-ranged-index-buffer #:map-buffer #:unmap-buffer #:unload #:with-mapped-buffer #:get-buffer-data
#:texture #:tex-id #:width #:height #:data-format #:stride #:target #:bind #:map-buffer #:unmap-buffer #:bind-sampler #:unload #:bind-with-pbo #:unbind-with-pbo #:with-temporary-pbo #:set-texture-color #:get-default-texture #:get-identity-texture
#:transform #:make-vector #:transform-point #:transform-points #:ray-triangle-intersect? #:make-matrix #:degrees->radians #:radians->degrees #:d->r #:r->d #:qtype #:transform #:transform->list #:m* #:transpose #:determinate #:scale #:translate #:rotate #:make-orthogonal-transform #:make-frustum-transform #:make-perspective-transform #:unproject #:get-screen-direction #:data-from-pointer #:make-pbo-for-texture #:make-quad #:make-quad-for-texture #:make-quad-and-texture
#:+pi+
#:ensure-float
#:get-keyframe #:get-animation-time #:animation #:animator #:frames #:current-position #:repeat #:run-speed #:run-length
#:play #:paused #:pause #:stop #:skip
#:update
#:texture-animation #:get-current-frame
#:node #:children #:changed? #:render #:traverse-node #:with-node #:with-new-node
#:enabled
#:make-foreign-array #:make-identity-matrix #:list->matrix #:copy-foreign-array #:fill-foreign-array #:cached-matrix #:matrix #:get-current-matrix #:update-current-matrix #:read-gl-matrix #:get-current-gl-matrix #:use-matrix #:save-matrix #:print-node-data #:m*m #:mT #:det #:m-1
#:entity #:render-values #:indexes #:render #:make-render-func #:slow-render #:render-value #:ray-entity-intersect?
#:make-pipeline #:pipeline-get-loop #:pipeline-get-init #:pipeline-get-uninit #:run-loop #:run-init #:run-uninit
#:viewport #:x #:y #:width #:height #:add-child #:remove-child #:resize #:quick-set
#:print-text #:with-paragraph
#:clear-cairo-context
#:with-surface-for-texture
#:with-context-for-texture
#:frame-buffer #:unbind #:depth-buffer #:make-depth-texture #:color-attachment #:make-color-texture #:with-fbo
#:clear-color #:attribute #:uniform #:init #:clean-up #:enable #:disable #:window-width #:window-height #:*parent*
#:walk-node-tree
#:topological-sort
))