init_from_vectors


Description:

public unowned Box? init_from_vectors (Vec3[] vectors)

Initializes the given Box with the given array of vertices.

If vectors.length is 0, the returned box is initialized with empty .

Parameters:

this

the Box to initialize

vectors

an array of Vec3

n_vectors

the number Point3D in the vectors array

Returns:

the initialized Box




2022 vala-language.org