Handbook
Glossary
vertex<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
vertex<<
( value object -- )
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
}
}
write-struct-slot
;
inline
USING:
accessors
game.models.half-edge
slots.private
;
M:
edge
vertex<<
3
set-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
}
}
write-struct-slot
;
inline