graphene_
sys
0.20.6
All Items
Crate Items
Structs
Constants
Functions
Type Aliases
Crate
graphene_sys
Copy item path
Source
Structs
§
graphene_
box_
t
graphene_
euler_
t
graphene_
frustum_
t
graphene_
matrix_
t
graphene_
plane_
t
graphene_
point3d_
t
graphene_
point_
t
graphene_
quad_
t
graphene_
quaternion_
t
graphene_
ray_
t
graphene_
rect_
t
graphene_
simd4f_
t
graphene_
simd4x4f_
t
graphene_
size_
t
graphene_
sphere_
t
graphene_
triangle_
t
graphene_
vec2_
t
graphene_
vec3_
t
graphene_
vec4_
t
Constants
§
GRAPHENE_
EULER_
ORDER_
DEFAULT
GRAPHENE_
EULER_
ORDER_
RXYX
GRAPHENE_
EULER_
ORDER_
RXYZ
GRAPHENE_
EULER_
ORDER_
RXZX
GRAPHENE_
EULER_
ORDER_
RXZY
GRAPHENE_
EULER_
ORDER_
RYXY
GRAPHENE_
EULER_
ORDER_
RYXZ
GRAPHENE_
EULER_
ORDER_
RYZX
GRAPHENE_
EULER_
ORDER_
RYZY
GRAPHENE_
EULER_
ORDER_
RZXY
GRAPHENE_
EULER_
ORDER_
RZXZ
GRAPHENE_
EULER_
ORDER_
RZYX
GRAPHENE_
EULER_
ORDER_
RZYZ
GRAPHENE_
EULER_
ORDER_
SXYX
GRAPHENE_
EULER_
ORDER_
SXYZ
GRAPHENE_
EULER_
ORDER_
SXZX
GRAPHENE_
EULER_
ORDER_
SXZY
GRAPHENE_
EULER_
ORDER_
SYXY
GRAPHENE_
EULER_
ORDER_
SYXZ
GRAPHENE_
EULER_
ORDER_
SYZX
GRAPHENE_
EULER_
ORDER_
SYZY
GRAPHENE_
EULER_
ORDER_
SZXY
GRAPHENE_
EULER_
ORDER_
SZXZ
GRAPHENE_
EULER_
ORDER_
SZYX
GRAPHENE_
EULER_
ORDER_
SZYZ
GRAPHENE_
EULER_
ORDER_
XYZ
GRAPHENE_
EULER_
ORDER_
XZY
GRAPHENE_
EULER_
ORDER_
YXZ
GRAPHENE_
EULER_
ORDER_
YZX
GRAPHENE_
EULER_
ORDER_
ZXY
GRAPHENE_
EULER_
ORDER_
ZYX
GRAPHENE_
RAY_
INTERSECTION_
KIND_
ENTER
GRAPHENE_
RAY_
INTERSECTION_
KIND_
LEAVE
GRAPHENE_
RAY_
INTERSECTION_
KIND_
NONE
GRAPHENE_
VEC2_
LEN
GRAPHENE_
VEC3_
LEN
GRAPHENE_
VEC4_
LEN
Functions
§
graphene_
box_
alloc
⚠
graphene_
box_
contains_
box
⚠
graphene_
box_
contains_
point
⚠
graphene_
box_
empty
⚠
graphene_
box_
equal
⚠
graphene_
box_
expand
⚠
graphene_
box_
expand_
scalar
⚠
graphene_
box_
expand_
vec3
⚠
graphene_
box_
free
⚠
graphene_
box_
get_
bounding_
sphere
⚠
graphene_
box_
get_
center
⚠
graphene_
box_
get_
depth
⚠
graphene_
box_
get_
height
⚠
graphene_
box_
get_
max
⚠
graphene_
box_
get_
min
⚠
graphene_
box_
get_
size
⚠
graphene_
box_
get_
type
⚠
graphene_
box_
get_
vertices
⚠
graphene_
box_
get_
width
⚠
graphene_
box_
infinite
⚠
graphene_
box_
init
⚠
graphene_
box_
init_
from_
box
⚠
graphene_
box_
init_
from_
points
⚠
graphene_
box_
init_
from_
vec3
⚠
graphene_
box_
init_
from_
vectors
⚠
graphene_
box_
intersection
⚠
graphene_
box_
minus_
one
⚠
graphene_
box_
one
⚠
graphene_
box_
one_
minus_
one
⚠
graphene_
box_
union
⚠
graphene_
box_
zero
⚠
graphene_
euler_
alloc
⚠
graphene_
euler_
equal
⚠
graphene_
euler_
free
⚠
graphene_
euler_
get_
alpha
⚠
graphene_
euler_
get_
beta
⚠
graphene_
euler_
get_
gamma
⚠
graphene_
euler_
get_
order
⚠
graphene_
euler_
get_
type
⚠
graphene_
euler_
get_
x
⚠
graphene_
euler_
get_
y
⚠
graphene_
euler_
get_
z
⚠
graphene_
euler_
init
⚠
graphene_
euler_
init_
from_
euler
⚠
graphene_
euler_
init_
from_
matrix
⚠
graphene_
euler_
init_
from_
quaternion
⚠
graphene_
euler_
init_
from_
radians
⚠
graphene_
euler_
init_
from_
vec3
⚠
graphene_
euler_
init_
with_
order
⚠
graphene_
euler_
reorder
⚠
graphene_
euler_
to_
matrix
⚠
graphene_
euler_
to_
quaternion
⚠
graphene_
euler_
to_
vec3
⚠
graphene_
frustum_
alloc
⚠
graphene_
frustum_
contains_
point
⚠
graphene_
frustum_
equal
⚠
graphene_
frustum_
free
⚠
graphene_
frustum_
get_
planes
⚠
graphene_
frustum_
get_
type
⚠
graphene_
frustum_
init
⚠
graphene_
frustum_
init_
from_
frustum
⚠
graphene_
frustum_
init_
from_
matrix
⚠
graphene_
frustum_
intersects_
box
⚠
graphene_
frustum_
intersects_
sphere
⚠
graphene_
matrix_
alloc
⚠
graphene_
matrix_
decompose
⚠
graphene_
matrix_
determinant
⚠
graphene_
matrix_
equal
⚠
graphene_
matrix_
equal_
fast
⚠
graphene_
matrix_
free
⚠
graphene_
matrix_
get_
row
⚠
graphene_
matrix_
get_
type
⚠
graphene_
matrix_
get_
value
⚠
graphene_
matrix_
get_
x_
scale
⚠
graphene_
matrix_
get_
x_
translation
⚠
graphene_
matrix_
get_
y_
scale
⚠
graphene_
matrix_
get_
y_
translation
⚠
graphene_
matrix_
get_
z_
scale
⚠
graphene_
matrix_
get_
z_
translation
⚠
graphene_
matrix_
init_
from_
2d
⚠
graphene_
matrix_
init_
from_
float
⚠
graphene_
matrix_
init_
from_
matrix
⚠
graphene_
matrix_
init_
from_
vec4
⚠
graphene_
matrix_
init_
frustum
⚠
graphene_
matrix_
init_
identity
⚠
graphene_
matrix_
init_
look_
at
⚠
graphene_
matrix_
init_
ortho
⚠
graphene_
matrix_
init_
perspective
⚠
graphene_
matrix_
init_
rotate
⚠
graphene_
matrix_
init_
scale
⚠
graphene_
matrix_
init_
skew
⚠
graphene_
matrix_
init_
translate
⚠
graphene_
matrix_
interpolate
⚠
graphene_
matrix_
inverse
⚠
graphene_
matrix_
is_
2d
⚠
graphene_
matrix_
is_
backface_
visible
⚠
graphene_
matrix_
is_
identity
⚠
graphene_
matrix_
is_
singular
⚠
graphene_
matrix_
multiply
⚠
graphene_
matrix_
near
⚠
graphene_
matrix_
normalize
⚠
graphene_
matrix_
perspective
⚠
graphene_
matrix_
print
⚠
graphene_
matrix_
project_
point
⚠
graphene_
matrix_
project_
rect
⚠
graphene_
matrix_
project_
rect_
bounds
⚠
graphene_
matrix_
rotate
⚠
graphene_
matrix_
rotate_
euler
⚠
graphene_
matrix_
rotate_
quaternion
⚠
graphene_
matrix_
rotate_
x
⚠
graphene_
matrix_
rotate_
y
⚠
graphene_
matrix_
rotate_
z
⚠
graphene_
matrix_
scale
⚠
graphene_
matrix_
skew_
xy
⚠
graphene_
matrix_
skew_
xz
⚠
graphene_
matrix_
skew_
yz
⚠
graphene_
matrix_
to_
2d
⚠
graphene_
matrix_
to_
float
⚠
graphene_
matrix_
transform_
bounds
⚠
graphene_
matrix_
transform_
box
⚠
graphene_
matrix_
transform_
point
⚠
graphene_
matrix_
transform_
point3d
⚠
graphene_
matrix_
transform_
ray
⚠
graphene_
matrix_
transform_
rect
⚠
graphene_
matrix_
transform_
sphere
⚠
graphene_
matrix_
transform_
vec3
⚠
graphene_
matrix_
transform_
vec4
⚠
graphene_
matrix_
translate
⚠
graphene_
matrix_
transpose
⚠
graphene_
matrix_
unproject_
point3d
⚠
graphene_
matrix_
untransform_
bounds
⚠
graphene_
matrix_
untransform_
point
⚠
graphene_
plane_
alloc
⚠
graphene_
plane_
distance
⚠
graphene_
plane_
equal
⚠
graphene_
plane_
free
⚠
graphene_
plane_
get_
constant
⚠
graphene_
plane_
get_
normal
⚠
graphene_
plane_
get_
type
⚠
graphene_
plane_
init
⚠
graphene_
plane_
init_
from_
plane
⚠
graphene_
plane_
init_
from_
point
⚠
graphene_
plane_
init_
from_
points
⚠
graphene_
plane_
init_
from_
vec4
⚠
graphene_
plane_
negate
⚠
graphene_
plane_
normalize
⚠
graphene_
plane_
transform
⚠
graphene_
point3d_
alloc
⚠
graphene_
point3d_
cross
⚠
graphene_
point3d_
distance
⚠
graphene_
point3d_
dot
⚠
graphene_
point3d_
equal
⚠
graphene_
point3d_
free
⚠
graphene_
point3d_
get_
type
⚠
graphene_
point3d_
init
⚠
graphene_
point3d_
init_
from_
point
⚠
graphene_
point3d_
init_
from_
vec3
⚠
graphene_
point3d_
interpolate
⚠
graphene_
point3d_
length
⚠
graphene_
point3d_
near
⚠
graphene_
point3d_
normalize
⚠
graphene_
point3d_
normalize_
viewport
⚠
graphene_
point3d_
scale
⚠
graphene_
point3d_
to_
vec3
⚠
graphene_
point3d_
zero
⚠
graphene_
point_
alloc
⚠
graphene_
point_
distance
⚠
graphene_
point_
equal
⚠
graphene_
point_
free
⚠
graphene_
point_
get_
type
⚠
graphene_
point_
init
⚠
graphene_
point_
init_
from_
point
⚠
graphene_
point_
init_
from_
vec2
⚠
graphene_
point_
interpolate
⚠
graphene_
point_
near
⚠
graphene_
point_
to_
vec2
⚠
graphene_
point_
zero
⚠
graphene_
quad_
alloc
⚠
graphene_
quad_
bounds
⚠
graphene_
quad_
contains
⚠
graphene_
quad_
free
⚠
graphene_
quad_
get_
point
⚠
graphene_
quad_
get_
type
⚠
graphene_
quad_
init
⚠
graphene_
quad_
init_
from_
points
⚠
graphene_
quad_
init_
from_
rect
⚠
graphene_
quaternion_
add
⚠
graphene_
quaternion_
alloc
⚠
graphene_
quaternion_
dot
⚠
graphene_
quaternion_
equal
⚠
graphene_
quaternion_
free
⚠
graphene_
quaternion_
get_
type
⚠
graphene_
quaternion_
init
⚠
graphene_
quaternion_
init_
from_
angle_
vec3
⚠
graphene_
quaternion_
init_
from_
angles
⚠
graphene_
quaternion_
init_
from_
euler
⚠
graphene_
quaternion_
init_
from_
matrix
⚠
graphene_
quaternion_
init_
from_
quaternion
⚠
graphene_
quaternion_
init_
from_
radians
⚠
graphene_
quaternion_
init_
from_
vec4
⚠
graphene_
quaternion_
init_
identity
⚠
graphene_
quaternion_
invert
⚠
graphene_
quaternion_
multiply
⚠
graphene_
quaternion_
normalize
⚠
graphene_
quaternion_
scale
⚠
graphene_
quaternion_
slerp
⚠
graphene_
quaternion_
to_
angle_
vec3
⚠
graphene_
quaternion_
to_
angles
⚠
graphene_
quaternion_
to_
matrix
⚠
graphene_
quaternion_
to_
radians
⚠
graphene_
quaternion_
to_
vec4
⚠
graphene_
ray_
alloc
⚠
graphene_
ray_
equal
⚠
graphene_
ray_
free
⚠
graphene_
ray_
get_
closest_
point_
to_
point
⚠
graphene_
ray_
get_
direction
⚠
graphene_
ray_
get_
distance_
to_
plane
⚠
graphene_
ray_
get_
distance_
to_
point
⚠
graphene_
ray_
get_
origin
⚠
graphene_
ray_
get_
position_
at
⚠
graphene_
ray_
get_
type
⚠
graphene_
ray_
init
⚠
graphene_
ray_
init_
from_
ray
⚠
graphene_
ray_
init_
from_
vec3
⚠
graphene_
ray_
intersect_
box
⚠
graphene_
ray_
intersect_
sphere
⚠
graphene_
ray_
intersect_
triangle
⚠
graphene_
ray_
intersects_
box
⚠
graphene_
ray_
intersects_
sphere
⚠
graphene_
ray_
intersects_
triangle
⚠
graphene_
rect_
alloc
⚠
graphene_
rect_
contains_
point
⚠
graphene_
rect_
contains_
rect
⚠
graphene_
rect_
equal
⚠
graphene_
rect_
expand
⚠
graphene_
rect_
free
⚠
graphene_
rect_
get_
area
⚠
graphene_
rect_
get_
bottom_
left
⚠
graphene_
rect_
get_
bottom_
right
⚠
graphene_
rect_
get_
center
⚠
graphene_
rect_
get_
height
⚠
graphene_
rect_
get_
top_
left
⚠
graphene_
rect_
get_
top_
right
⚠
graphene_
rect_
get_
type
⚠
graphene_
rect_
get_
vertices
⚠
graphene_
rect_
get_
width
⚠
graphene_
rect_
get_
x
⚠
graphene_
rect_
get_
y
⚠
graphene_
rect_
init
⚠
graphene_
rect_
init_
from_
rect
⚠
graphene_
rect_
inset
⚠
graphene_
rect_
inset_
r
⚠
graphene_
rect_
interpolate
⚠
graphene_
rect_
intersection
⚠
graphene_
rect_
normalize
⚠
graphene_
rect_
normalize_
r
⚠
graphene_
rect_
offset
⚠
graphene_
rect_
offset_
r
⚠
graphene_
rect_
round
⚠
graphene_
rect_
round_
extents
⚠
graphene_
rect_
round_
to_
pixel
⚠
graphene_
rect_
scale
⚠
graphene_
rect_
union
⚠
graphene_
rect_
zero
⚠
graphene_
size_
alloc
⚠
graphene_
size_
equal
⚠
graphene_
size_
free
⚠
graphene_
size_
get_
type
⚠
graphene_
size_
init
⚠
graphene_
size_
init_
from_
size
⚠
graphene_
size_
interpolate
⚠
graphene_
size_
scale
⚠
graphene_
size_
zero
⚠
graphene_
sphere_
alloc
⚠
graphene_
sphere_
contains_
point
⚠
graphene_
sphere_
distance
⚠
graphene_
sphere_
equal
⚠
graphene_
sphere_
free
⚠
graphene_
sphere_
get_
bounding_
box
⚠
graphene_
sphere_
get_
center
⚠
graphene_
sphere_
get_
radius
⚠
graphene_
sphere_
get_
type
⚠
graphene_
sphere_
init
⚠
graphene_
sphere_
init_
from_
points
⚠
graphene_
sphere_
init_
from_
vectors
⚠
graphene_
sphere_
is_
empty
⚠
graphene_
sphere_
translate
⚠
graphene_
triangle_
alloc
⚠
graphene_
triangle_
contains_
point
⚠
graphene_
triangle_
equal
⚠
graphene_
triangle_
free
⚠
graphene_
triangle_
get_
area
⚠
graphene_
triangle_
get_
barycoords
⚠
graphene_
triangle_
get_
bounding_
box
⚠
graphene_
triangle_
get_
midpoint
⚠
graphene_
triangle_
get_
normal
⚠
graphene_
triangle_
get_
plane
⚠
graphene_
triangle_
get_
points
⚠
graphene_
triangle_
get_
type
⚠
graphene_
triangle_
get_
uv
⚠
graphene_
triangle_
get_
vertices
⚠
graphene_
triangle_
init_
from_
float
⚠
graphene_
triangle_
init_
from_
point3d
⚠
graphene_
triangle_
init_
from_
vec3
⚠
graphene_
vec2_
add
⚠
graphene_
vec2_
alloc
⚠
graphene_
vec2_
divide
⚠
graphene_
vec2_
dot
⚠
graphene_
vec2_
equal
⚠
graphene_
vec2_
free
⚠
graphene_
vec2_
get_
type
⚠
graphene_
vec2_
get_
x
⚠
graphene_
vec2_
get_
y
⚠
graphene_
vec2_
init
⚠
graphene_
vec2_
init_
from_
float
⚠
graphene_
vec2_
init_
from_
vec2
⚠
graphene_
vec2_
interpolate
⚠
graphene_
vec2_
length
⚠
graphene_
vec2_
max
⚠
graphene_
vec2_
min
⚠
graphene_
vec2_
multiply
⚠
graphene_
vec2_
near
⚠
graphene_
vec2_
negate
⚠
graphene_
vec2_
normalize
⚠
graphene_
vec2_
one
⚠
graphene_
vec2_
scale
⚠
graphene_
vec2_
subtract
⚠
graphene_
vec2_
to_
float
⚠
graphene_
vec2_
x_
axis
⚠
graphene_
vec2_
y_
axis
⚠
graphene_
vec2_
zero
⚠
graphene_
vec3_
add
⚠
graphene_
vec3_
alloc
⚠
graphene_
vec3_
cross
⚠
graphene_
vec3_
divide
⚠
graphene_
vec3_
dot
⚠
graphene_
vec3_
equal
⚠
graphene_
vec3_
free
⚠
graphene_
vec3_
get_
type
⚠
graphene_
vec3_
get_
x
⚠
graphene_
vec3_
get_
xy
⚠
graphene_
vec3_
get_
xy0
⚠
graphene_
vec3_
get_
xyz0
⚠
graphene_
vec3_
get_
xyz1
⚠
graphene_
vec3_
get_
xyzw
⚠
graphene_
vec3_
get_
y
⚠
graphene_
vec3_
get_
z
⚠
graphene_
vec3_
init
⚠
graphene_
vec3_
init_
from_
float
⚠
graphene_
vec3_
init_
from_
vec3
⚠
graphene_
vec3_
interpolate
⚠
graphene_
vec3_
length
⚠
graphene_
vec3_
max
⚠
graphene_
vec3_
min
⚠
graphene_
vec3_
multiply
⚠
graphene_
vec3_
near
⚠
graphene_
vec3_
negate
⚠
graphene_
vec3_
normalize
⚠
graphene_
vec3_
one
⚠
graphene_
vec3_
scale
⚠
graphene_
vec3_
subtract
⚠
graphene_
vec3_
to_
float
⚠
graphene_
vec3_
x_
axis
⚠
graphene_
vec3_
y_
axis
⚠
graphene_
vec3_
z_
axis
⚠
graphene_
vec3_
zero
⚠
graphene_
vec4_
add
⚠
graphene_
vec4_
alloc
⚠
graphene_
vec4_
divide
⚠
graphene_
vec4_
dot
⚠
graphene_
vec4_
equal
⚠
graphene_
vec4_
free
⚠
graphene_
vec4_
get_
type
⚠
graphene_
vec4_
get_
w
⚠
graphene_
vec4_
get_
x
⚠
graphene_
vec4_
get_
xy
⚠
graphene_
vec4_
get_
xyz
⚠
graphene_
vec4_
get_
y
⚠
graphene_
vec4_
get_
z
⚠
graphene_
vec4_
init
⚠
graphene_
vec4_
init_
from_
float
⚠
graphene_
vec4_
init_
from_
vec2
⚠
graphene_
vec4_
init_
from_
vec3
⚠
graphene_
vec4_
init_
from_
vec4
⚠
graphene_
vec4_
interpolate
⚠
graphene_
vec4_
length
⚠
graphene_
vec4_
max
⚠
graphene_
vec4_
min
⚠
graphene_
vec4_
multiply
⚠
graphene_
vec4_
near
⚠
graphene_
vec4_
negate
⚠
graphene_
vec4_
normalize
⚠
graphene_
vec4_
one
⚠
graphene_
vec4_
scale
⚠
graphene_
vec4_
subtract
⚠
graphene_
vec4_
to_
float
⚠
graphene_
vec4_
w_
axis
⚠
graphene_
vec4_
x_
axis
⚠
graphene_
vec4_
y_
axis
⚠
graphene_
vec4_
z_
axis
⚠
graphene_
vec4_
zero
⚠
Type Aliases
§
graphene_
euler_
order_
t
graphene_
ray_
intersection_
kind_
t