Education/Projects/ProcessingForTheWeb/PVector: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:
! scope="col" | Status
! scope="col" | Status
|-
|-
| [[https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/set set()]]
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/set set()]
|  
|  
|-
|-

Revision as of 00:32, 25 October 2009

Summary

PVector is an object used in Processing. It is being transported to it's counterpart Processing.js. The object has the ability to store x, y and z coordinate attributes while using the functions built into it. More information can be found in it's original reference: here

  • Note: it's not completed as of Oct 23rd 2009


Functions

The object comes with the following functions:

Function Status
set()
get()
mag()
add()
sub()
mult()
div()
dist()
dot()
cross()
normalize()
limit()
angleBetween()
array()