setNull

punto:setNull() --> nil

Imposta il punto come nullo. Serve nel caso si voglia ritornare un valore non valido. Un punto nullo ha i tre valori a NAN.

Esempio 1. Esempio setNull

local p = Point(1, 2, 3)
p:setNull()
print("\nsetNull(): isNull = " .. tostring(p:isNull()))

Created with the Personal Edition of HelpNDoc: Import and export Markdown documents