Handbook
Glossary
vertex>> ( object -- value )
Vocabulary
accessors
Inputs
object
an
object
Outputs
value
an
object
Definition
IN:
accessors
GENERIC:
vertex>>
( object -- value )
Methods
USING:
accessors
classes.struct
classes.struct.private
gpu.demos.bunny
math.vectors.simd
;
M:
bunny-vertex-struct
vertex>>
T{
struct-slot-spec
{
name
"vertex"
}
{
offset 0
}
{
class
float-4
}
{
initial
float-4{
0.0 0.0 0.0 0.0
}
}
{
type
float-4
}
}
read-struct-slot
;
inline
USING:
accessors
euler.b-rep
slots.private
;
M:
dead-vertex
vertex>>
2
slot
;
inline
USING:
accessors
game.models.half-edge
slots.private
;
M:
edge
vertex>>
3
slot
;
inline
USING:
accessors
classes.struct
classes.struct.private
math.vectors.simd
papier.map
;
M:
papier-vertex-struct
vertex>>
T{
struct-slot-spec
{
name
"vertex"
}
{
offset 0
}
{
class
float-4
}
{
initial
float-4{
0.0 0.0 0.0 0.0
}
}
{
type
float-4
}
}
read-struct-slot
;
inline