Handbook
Glossary
normal>> ( object -- value )
Vocabulary
accessors
Inputs
object
an
object
Outputs
value
an
object
Definition
IN:
accessors
GENERIC:
normal>>
( object -- value )
Methods
USING:
accessors
classes.struct
classes.struct.private
raylib
;
M:
RayCollision
normal>>
T{
struct-slot-spec
{
name
"normal"
}
{
offset 20
}
{
class
Vector3
}
{
initial
S{
Vector3
{
x 0.0
}
{
y 0.0
}
{
z 0.0
}
}
}
{
type
Vector3
}
}
read-struct-slot
;
inline
USING:
accessors
classes.struct
classes.struct.private
gpu.demos.bunny
math.vectors.simd
;
M:
bunny-vertex-struct
normal>>
T{
struct-slot-spec
{
name
"normal"
}
{
offset 16
}
{
class
float-4
}
{
initial
float-4{
0.0 0.0 0.0 0.0
}
}
{
type
float-4
}
}
read-struct-slot
;
inline
USING:
accessors
benchmark.raytracer
kernel.private
slots.private
specialized-arrays.instances.alien.c-types.double
;
M:
hit
normal>>
2
slot
{
double-array
}
declare
;
inline
USING:
accessors
benchmark.raytracer-simd
kernel.private
math.vectors.simd.cords
slots.private
;
M:
hit
normal>>
2
slot
{
double-4
}
declare
;
inline