Handbook
Glossary
Ray
Vocabulary
raylib
Class description
Represents a ray casted across 3D space.
Fields
position
Vector3
Ray position (origin)
direction
Vector3
Ray direction
Definition
USING:
classes.struct
;
IN:
raylib
STRUCT:
Ray
{
position
Vector3
initial:
S{
Vector3
{
x 0.0
}
{
y 0.0
}
{
z 0.0
}
}
}
{
direction
Vector3
initial:
S{
Vector3
{
x 0.0
}
{
y 0.0
}
{
z 0.0
}
}
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
raylib
;
M:
Ray
clone
clone-underlying
\
Ray
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
raylib
;
M:
Ray
struct-slot-values
{
[
position>>
]
[
direction>>
]
}
cleave>array
;
inline