Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: GrapheneApi

[12:14] static extends: object

Generated low-level function wrappers for namespace Graphene.

Members

  • lib

Methods

  • getLib ()

  • box2d_empty ()

    A degenerate #graphene_box2d_t that can only be expanded. The returned value is owned by Graphene and should not be modified or freed.

  • box2d_infinite ()

    A degenerate #graphene_box2d_t that cannot be expanded. The returned value is owned by Graphene and should not be modified or freed.

  • box2d_minus_one ()

    A #graphene_box2d_t with the minimum vertex set at (-1, -1) and the maximum vertex set at (0, 0). The returned value is owned by Graphene and should not be modified or freed.

  • box2d_one ()

    A #graphene_box2d_t with the minimum vertex set at (0, 0) and the maximum vertex set at (1, 1). The returned value is owned by Graphene and should not be modified or freed.

  • box2d_one_minus_one ()

    A #graphene_box2d_t with the minimum vertex set at (-1, -1) and the maximum vertex set at (1, 1). The returned value is owned by Graphene and should not be modified or freed.

  • box2d_zero ()

    A #graphene_box2d_t with both the minimum and maximum vertices set at (0, 0). The returned value is owned by Graphene and should not be modified or freed.

  • box_empty ()

    A degenerate #graphene_box_t that can only be expanded. The returned value is owned by Graphene and should not be modified or freed.

  • box_infinite ()

    A degenerate #graphene_box_t that cannot be expanded. The returned value is owned by Graphene and should not be modified or freed.

  • box_minus_one ()

    A #graphene_box_t with the minimum vertex set at (-1, -1, -1) and the maximum vertex set at (0, 0, 0). The returned value is owned by Graphene and should not be modified or freed.

  • box_one ()

    A #graphene_box_t with the minimum vertex set at (0, 0, 0) and the maximum vertex set at (1, 1, 1). The returned value is owned by Graphene and should not be modified or freed.

  • box_one_minus_one ()

    A #graphene_box_t with the minimum vertex set at (-1, -1, -1) and the maximum vertex set at (1, 1, 1). The returned value is owned by Graphene and should not be modified or freed.

  • box_zero ()

    A #graphene_box_t with both the minimum and maximum vertices set at (0, 0, 0). The returned value is owned by Graphene and should not be modified or freed.

  • point3d_zero ()

    Retrieves a constant point with all three coordinates set to 0.

  • point_zero ()

    Returns a point fixed at (0, 0).

  • rect_alloc ()

    Allocates a new #graphene_rect_t. The contents of the returned rectangle are undefined.

  • rect_zero ()

    Returns a degenerate rectangle with origin fixed at (0, 0) and a size of 0, 0.

  • size_zero ()

    A constant pointer to a zero #graphene_size_t, useful for equality checks and interpolations.

  • vec2_one ()

    Retrieves a constant vector with (1, 1) components.

  • vec2_x_axis ()

    Retrieves a constant vector with (1, 0) components.

  • vec2_y_axis ()

    Retrieves a constant vector with (0, 1) components.

  • vec2_zero ()

    Retrieves a constant vector with (0, 0) components.

  • vec3_one ()

    Provides a constant pointer to a vector with three components, all sets to 1.

  • vec3_x_axis ()

    Provides a constant pointer to a vector with three components with values set to (1, 0, 0).

  • vec3_y_axis ()

    Provides a constant pointer to a vector with three components with values set to (0, 1, 0).

  • vec3_z_axis ()

    Provides a constant pointer to a vector with three components with values set to (0, 0, 1).

  • vec3_zero ()

    Provides a constant pointer to a vector with three components, all sets to 0.

  • vec4_one ()

    Retrieves a pointer to a #graphene_vec4_t with all its components set to 1.

  • vec4_w_axis ()

    Retrieves a pointer to a #graphene_vec4_t with its components set to (0, 0, 0, 1).

  • vec4_x_axis ()

    Retrieves a pointer to a #graphene_vec4_t with its components set to (1, 0, 0, 0).

  • vec4_y_axis ()

    Retrieves a pointer to a #graphene_vec4_t with its components set to (0, 1, 0, 0).

  • vec4_z_axis ()

    Retrieves a pointer to a #graphene_vec4_t with its components set to (0, 0, 1, 0).

  • vec4_zero ()

    Retrieves a pointer to a #graphene_vec4_t with all its components set to 0.