Difference between revisions of "Vector.zero"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2026.1<br/> '''Class:''' vector<br/> === Description === Constant vector with all components set to 0. Includes the fourth compon...")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2026.1<br/>
 
'''Available since:''' Gideros 2026.1<br/>
'''Class:''' [[vector]]<br/>
+
'''Class:''' [[vector library]]<br/>
  
 
=== Description ===
 
=== Description ===

Revision as of 02:41, 1 February 2026

Available since: Gideros 2026.1
Class: vector library

Description

Constant vector with all components set to 0. Includes the fourth component in 4-wide mode.

(table) = vector.zero

Return values

Returns (table) the vector coordinates set to 0

Example

local v0 = vector.zero
print(v0) -- 0, 0, 0

Template:(vector)