the X coordinate
the Y coordinate
the Z coordinate
Computes the dot product of the two given #graphene_point3d_t.
a #graphene_point3d_t
Checks whether two given points are equal.
a #graphene_point3d_t
Frees the resources allocated via graphene_point3d_alloc().
Initializes a #graphene_point3d_t with the given coordinates.
the X coordinate of the point
the Y coordinate of the point
the Z coordinate of the point
Computes the length of the vector represented by the coordinates of the given #graphene_point3d_t.
Checks whether the two points are near each other, within
an epsilon
factor.
a #graphene_point3d_t
fuzzyness factor
Computes the normalization of the vector represented by the coordinates of the given #graphene_point3d_t.
Normalizes the coordinates of a #graphene_point3d_t using the given viewport and clipping planes.
The coordinates of the resulting #graphene_point3d_t will be in the [ -1, 1 ] range.
a #graphene_rect_t representing a viewport
the coordinate of the near clipping plane, or 0 for the default near clipping plane
the coordinate of the far clipping plane, or 1 for the default far clipping plane
Scales the coordinates of the given #graphene_point3d_t by
the given factor
.
the scaling factor
Allocates a #graphene_point3d_t structure.
Retrieves a constant point with all three coordinates set to 0.
A point with three components: X, Y, and Z.