Handbook
Glossary
cube-map-axis? ( object -- ? )
Vocabulary
gpu
.
textures
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
cube-map-axis
class.
Definition
USING:
kernel
;
IN:
gpu.textures
:
cube-map-axis?
( object -- ? )
dup
+Z?
[
drop
t
]
[
dup
+Y?
[
drop
t
]
[
dup
+X?
[
drop
t
]
[
dup
-Z?
[
drop
t
]
[
dup
-Y?
[
drop
t
]
[
-X?
]
if
]
if
]
if
]
if
]
if
;