addVector

punto:addVector(vec: Vector3d) --> nil

Aggiunte il vettore al punto. Modifica il punto stesso e non ritorna nulla

Esempio 1. Esempio addVector

local p = Point(1, 2, 3)
local v = Vector3d(3, 4, 0)
p:addVector(v)
print("\naddVector(3,4,0): X=" .. p:X() .. " Y=" .. p:Y())

Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software