graphene.c.types
C types for graphene1 library
Types 21
Specify the order of the rotations on each axis.
The GRAPHENE_EULER_ORDER_DEFAULT value is special, and is used as an alias for one of the other orders.
The type of intersection.
A 3D box, described as the volume between a minimum and a maximum vertices.
graphene_vec3_t mingraphene_vec3_t maxDescribe a rotation using Euler angles.
The contents of the #graphene_euler_t structure are private and should never be accessed directly.
graphene_vec3_t anglesgraphene_euler_order_t orderA 3D volume delimited by 2D clip planes.
The contents of the [graphene.frustum.Frustum] are private, and should not be modified directly.
graphene_plane_t[6] planesA structure capable of holding a 4x4 matrix.
The contents of the #graphene_matrix_t structure are private and should never be accessed directly.
graphene_simd4x4f_t valueA 2D plane that extends infinitely in a 3D volume.
The contents of the [graphene.plane.Plane] are private, and should not be modified directly.
graphene_vec3_t normalfloat constantA point with two coordinates.
float xthe X coordinate of the pointfloat ythe Y coordinate of the pointA point with three components: X, Y, and Z.
float xthe X coordinatefloat ythe Y coordinatefloat zthe Z coordinateA 4 vertex quadrilateral, as represented by four #graphene_point_t.
The contents of a #graphene_quad_t are private and should never be accessed directly.
graphene_point_t[4] pointsA quaternion.
The contents of the #graphene_quaternion_t structure are private and should never be accessed directly.
float xfloat yfloat zfloat wA ray emitted from an origin in a given direction.
The contents of the [graphene.ray.Ray] structure are private, and should not be modified directly.
graphene_vec3_t origingraphene_vec3_t directionThe location and size of a rectangle region.
The width and height of a #graphene_rect_t can be negative; for instance, a #graphene_rect_t with an origin of [ 0, 0 ] and a size of [ 10, 10 ] is equivalent to a #graphene_rect_t with an origin of [ 10, 10 ] and a size of [ -10, -10 ].
Application code can normalize rectangles using [graphene.rect.Rect.normalize]; this function will ensure that the width and height of a rectangle are positive values. All functions taking a #graphene_rect_t as an argument will internally operate on a normalized copy; all functions returning a #graphene_rect_t will always return a normalized rectangle.
graphene_point_t originthe coordinates of the origin of the rectanglegraphene_size_t sizethe size of the rectanglefloat xfloat yfloat zfloat wgraphene_simd4f_t xgraphene_simd4f_t ygraphene_simd4f_t zgraphene_simd4f_t wA size.
float widththe widthfloat heightthe heightA sphere, represented by its center and radius.
graphene_vec3_t centerfloat radiusA triangle.
graphene_vec3_t agraphene_vec3_t bgraphene_vec3_t cA structure capable of holding a vector with two dimensions, x and y.
The contents of the #graphene_vec2_t structure are private and should never be accessed directly.
graphene_simd4f_t valueA structure capable of holding a vector with three dimensions: x, y, and z.
The contents of the #graphene_vec3_t structure are private and should never be accessed directly.
graphene_simd4f_t valueA structure capable of holding a vector with four dimensions: x, y, z, and w.
The contents of the #graphene_vec4_t structure are private and should never be accessed directly.
graphene_simd4f_t value