vertex_position(buffer,x,y)

From ENIGMA

Jump to: navigation, search

Description

Adds the given 2D vertex to the given vertex buffer.

Parameters

Parameter Data Type Description
buffer integer Index of the vertex buffer.
x gs_scalar x coordinate of the vertex to add
y gs_scalar y coordinate of the vertex to add

Return Values

void: This function does not return anything.

Example Call

// demonstrates adding the current object's x and y coordinates to a vertex buffer
vertex_position(dynamic_buffer, x, y);
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox