repo.or.cz
/
tuple-trace.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Passed test again
[tuple-trace.git]
/
material.lisp
blob
75ff4d30382e11b1c154c63e21f6c1dda34d5a60
1
2
(
in-package
:
tuple-trace
)
3
4
(
def-tuple-class
material
5
(:
tuples
6
((
colour
:
type colour
))
7
:
slots
8
((
reflection
:
initform
0.0
:
accessor reflectivity-of
:
type single-float
)
9
(
diffuse
:
initform
0.0
:
accessor diffusion-of
:
type single-float
))))
10