vecSimple

taichi_glsl.vector.vecSimple(*xs)

Create a n-D vector whose components are specified by arguments.

Parameters

xs – Specify the scalar values to initialize the vector components.

Returns

The return value is a n-D vector, where n = len(xs). And the i-th component is initialized to be xs[i].

See also

vec(), vecFill().