vector3_distance


Description:

public float vector3_distance (float a, float b)

If you consider the two given vectors as (x,y,z) points instead then this will compute the distance between those two points.

Parameters:

a

The first point

b

The second point

Returns:

The distance between two points given as 3 component vectors.


Namespace: Cogl
Package: doc