Graphene
Description:
Content:
Structs:
- Box - A 3D box, described as the volume between a minimum and a maximum vertices.
- Euler - Describe a rotation using Euler angles.
- Frustum - A 3D volume delimited by 2D clip planes.
- Matrix - A structure capable of holding a 4x4 matrix.
- Plane - A 2D plane that extends infinitely in a 3D volume.
- Point - A point with two coordinates.
- Point3D - A point with three components: X, Y, and Z.
- Quad - A 4 vertex quadrilateral, as represented by four Point.
- Quaternion - A quaternion.
- Ray - A ray emitted from an origin in a given direction.
- Rect - The location and size of a rectangle region.
- Simd4F
- Simd4X4F
- Size - A size.
- Sphere - A sphere, represented by its center and radius.
- Triangle - A triangle.
- Vec2 - A structure capable of holding a vector with two dimensions, x and y.
- Vec3 - A structure capable of holding a vector with three dimensions: x, y, and z.
- Vec4 - A structure capable of holding a vector with four dimensions: x, y, z, and w.
Enums:
- EulerOrder - Specify the order of the rotations on each axis.
- RayIntersectionKind - The type of intersection.
Constants:
- public const double PI
- public const double PI_2
- public const int VEC2_LEN
Evaluates to the number of components of a Vec2.
- public const int VEC3_LEN
Evaluates to the number of components of a Vec3.
- public const int VEC4_LEN
Evaluates to the number of components of a Vec4.
Functions:
- public unowned Box? box_empty ()
- public unowned Box? box_infinite ()
- public unowned Box? box_minus_one ()
- public unowned Box? box_one ()
- public unowned Box? box_one_minus_one ()
- public unowned Box? box_zero ()
- public unowned Point3D? point3d_zero ()
- public unowned Point? point_zero ()
- public unowned Rect? rect_zero ()
- public unowned Size? size_zero ()
- public unowned Vec2? vec2_one ()
- public unowned Vec2? vec2_x_axis ()
- public unowned Vec2? vec2_y_axis ()
- public unowned Vec2? vec2_zero ()
- public unowned Vec3? vec3_one ()
- public unowned Vec3? vec3_x_axis ()
- public unowned Vec3? vec3_y_axis ()
- public unowned Vec3? vec3_z_axis ()
- public unowned Vec3? vec3_zero ()
- public unowned Vec4? vec4_one ()
- public unowned Vec4? vec4_w_axis ()
- public unowned Vec4? vec4_x_axis ()
- public unowned Vec4? vec4_y_axis ()
- public unowned Vec4? vec4_z_axis ()
- public unowned Vec4? vec4_zero ()