forked from Shirakumo/cl-fbx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.lisp
85 lines (84 loc) · 1.99 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
(eval-when (:compile-toplevel :load-toplevel :execute)
(unless (find-package '#:org.shirakumo.fraf.fbx.cffi)
(defpackage #:org.shirakumo.fraf.fbx.cffi
(:use #:cl)
(:shadow #:type #:string #:list #:character #:warning #:stream #:error)))
(unless (find-package '#:org.shirakumo.fraf.fbx)
(defpackage #:org.shirakumo.fraf.fbx
(:use #:cl)
(:local-nicknames
(#:fbx #:org.shirakumo.fraf.fbx.cffi)
(#:sequences #:org.shirakumo.trivial-extensible-sequences))
(:shadow
#:values #:time #:character #:position #:find)
;; NOTE: bunch of auto-exports
;; conditions.lisp
(:export
#:fbx-error
#:code
#:message
#:description
#:info
#:stack
#:fbx-warning
#:code
#:description
#:fbx-panic
#:message
#:inflate-error
#:code)
;; file.lisp
(:export
#:init
#:shutdown
#:with-file
#:fbx-file
#:source
#:parse
#:load-cache)
;; wrapper.lisp
(:export
#:allocator
#:memory-limit
#:allocation-limit
#:huge-threshold
#:max-chunk-size
#:free
#:allocate
#:reallocate
#:deallocate
#:update
#:with-freeing
#:wrapper
#:handle
#:foreign-type
#:foreign-vector
#:lisp-type
#:data
#:wrap-foreign-vector
#:make-foreign-vector
#:data
#:progress-cb
#:open-file-cb
#:close-memory-cb
#:temp-allocator
#:result-allocator
#:find
#:get-element
#:evaluate
#:add-offsets
#:tessellate
#:compute-topology
#:next-vertex
#:prev-vertex
#:generate-normal-mapping
#:compute-normals
#:subdivide-mesh
#:inflate
#:read-cache
#:sample-cache
#:normal-matrix
#:skin-vertex-matrix
#:blend-vertex-offset
#:weighted-face-normal
#:triangulate-face))))