Education/Projects/ProcessingForTheWeb/PVector: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 19: Line 19:
|-
|-
| [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()]
|  
| Functional, passing an object as a parameter not tested.
|-
|-
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/get get()]  
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/get get()]  
|  
| Not tested, having trouble with returning objects.
|-
|-
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/mag mag()]  
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/mag mag()]  
|  
| Functional
|-
|-
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/add add()]  
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/add add()]  
|  
| Functional, having trouble with returning objects.
|-
|-
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/sub sub()]  
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/sub sub()]  
|  
| Functional, having trouble with returning objects.
|-
|-
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/mult mult()]  
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/mult mult()]  
|  
| Functional, having trouble with returning objects.
|-
|-
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/div div()]  
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/div div()]  
|  
| Functional, having trouble with returning objects.
|-
|-
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/dist dist()]  
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/dist dist()]  
|  
| Not tested, having trouble with returning objects.
|-
|-
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/dot dot()]  
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/dot dot()]  
|  
| Not tested, having trouble with returning objects.
|-
|-
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/cross cross()]  
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/cross cross()]  
|  
| Not tested, having trouble with returning objects.
|-
|-
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/normalize normalize()]  
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/normalize normalize()]  
|  
| Functional.
|-
|-
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/limit limit()]  
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/limit limit()]  
|  
| Functional.
|-
|-
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/angleBetween angleBetween()]  
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/angleBetween angleBetween()]  
|  
| Functional.
|-
|-
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/array array()]  
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/array array()]  
|  
| Not tested, but should be functional.
|}
|}


<br>
<br>

Revision as of 01:04, 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() Functional, passing an object as a parameter not tested.
get() Not tested, having trouble with returning objects.
mag() Functional
add() Functional, having trouble with returning objects.
sub() Functional, having trouble with returning objects.
mult() Functional, having trouble with returning objects.
div() Functional, having trouble with returning objects.
dist() Not tested, having trouble with returning objects.
dot() Not tested, having trouble with returning objects.
cross() Not tested, having trouble with returning objects.
normalize() Functional.
limit() Functional.
angleBetween() Functional.
array() Not tested, but should be functional.