module Graphene
Extended Modules
Defined in:
lib/gi-crystal/src/auto/graphene-1.0/box.crlib/gi-crystal/src/auto/graphene-1.0/euler.cr
lib/gi-crystal/src/auto/graphene-1.0/frustum.cr
lib/gi-crystal/src/auto/graphene-1.0/graphene.cr
lib/gi-crystal/src/auto/graphene-1.0/matrix.cr
lib/gi-crystal/src/auto/graphene-1.0/plane.cr
lib/gi-crystal/src/auto/graphene-1.0/point.cr
lib/gi-crystal/src/auto/graphene-1.0/point3_d.cr
lib/gi-crystal/src/auto/graphene-1.0/quad.cr
lib/gi-crystal/src/auto/graphene-1.0/quaternion.cr
lib/gi-crystal/src/auto/graphene-1.0/ray.cr
lib/gi-crystal/src/auto/graphene-1.0/rect.cr
lib/gi-crystal/src/auto/graphene-1.0/simd4_f.cr
lib/gi-crystal/src/auto/graphene-1.0/simd4_x4_f.cr
lib/gi-crystal/src/auto/graphene-1.0/size.cr
lib/gi-crystal/src/auto/graphene-1.0/sphere.cr
lib/gi-crystal/src/auto/graphene-1.0/triangle.cr
lib/gi-crystal/src/auto/graphene-1.0/vec2.cr
lib/gi-crystal/src/auto/graphene-1.0/vec3.cr
lib/gi-crystal/src/auto/graphene-1.0/vec4.cr
Constant Summary
-
PI =
3.141593
-
PI_2 =
1.570796
-
VEC2_LEN =
2
-
Evaluates to the number of components of a #graphene_::vec2_t.
This symbol is useful when declaring a C array of floating point values to be used with graphene_::vec2_init_from_float() and graphene_::vec2_to_float(), e.g.
|[ float v[GRAPHENE_VEC2_LEN];
// vec is defined elsewhere graphene_::vec2_to_float (&vec, v);
for (int i = 0; i < GRAPHENE_VEC2_LEN; i++) fprintf (stdout, "component %d: %g\n", i, v[i]); ]|
-
VEC3_LEN =
3
-
Evaluates to the number of components of a #graphene_::vec3_t.
This symbol is useful when declaring a C array of floating point values to be used with graphene_::vec3_init_from_float() and graphene_::vec3_to_float(), e.g.
|[ float v[GRAPHENE_VEC3_LEN];
// vec is defined elsewhere graphene_::vec3_to_float (&vec, v);
for (int i = 0; i < GRAPHENE_VEC2_LEN; i++) fprintf (stdout, "component %d: %g\n", i, v[i]); ]|
-
VEC4_LEN =
4
-
Evaluates to the number of components of a #graphene_::vec4_t.
This symbol is useful when declaring a C array of floating point values to be used with graphene_::vec4_init_from_float() and graphene_::vec4_to_float(), e.g.
|[ float v[GRAPHENE_VEC4_LEN];
// vec is defined elsewhere graphene_::vec4_to_float (&vec, v);
for (int i = 0; i < GRAPHENE_VEC4_LEN; i++) fprintf (stdout, "component %d: %g\n", i, v[i]); ]|
Class Method Summary
- .box_empty : Graphene::Box
- .box_infinite : Graphene::Box
- .box_minus_one : Graphene::Box
- .box_one : Graphene::Box
- .box_one_minus_one : Graphene::Box
- .box_zero : Graphene::Box
- .point3d_zero : Graphene::Point3D
- .point_zero : Graphene::Point
- .rect_alloc : Graphene::Rect
- .rect_zero : Graphene::Rect
- .size_zero : Graphene::Size
- .vec2_one : Graphene::Vec2
- .vec2_x_axis : Graphene::Vec2
- .vec2_y_axis : Graphene::Vec2
- .vec2_zero : Graphene::Vec2
- .vec3_one : Graphene::Vec3
- .vec3_x_axis : Graphene::Vec3
- .vec3_y_axis : Graphene::Vec3
- .vec3_z_axis : Graphene::Vec3
- .vec3_zero : Graphene::Vec3
- .vec4_one : Graphene::Vec4
- .vec4_w_axis : Graphene::Vec4
- .vec4_x_axis : Graphene::Vec4
- .vec4_y_axis : Graphene::Vec4
- .vec4_z_axis : Graphene::Vec4
- .vec4_zero : Graphene::Vec4