DarkBASIC Professional Help File

DX11 CREATE VECTOR3

Creates a new vector3 instance. Its initial values can either be provided to this function or not;
if they are omitted, the vector will be initialized to all 0.0 components.

Syntax

    Return Dword = DX11 CREATE VECTOR3([x], [y], [z])

Parameters

    [Optional] x

> Float
> The initial X component of the created vector.

    [Optional] y

> Float
> The initial Y component of the created vector.

    [Optional] z

> Float
> The initial Z component of the created vector.

Returns

The created vector3.

See also

MATH Functions Menu
DX11 Function Categories