( begin auto-generated from PVector_div.xml ) Divides a vector by a scalar or divides one vector by another. ( end auto-generated ) @webref pvector:method @usage web_application @brief Divide a vector by a scalar @param n the number by which to divide the vector
(float n)
| 633 | * @param n the number by which to divide the vector |
| 634 | */ |
| 635 | public PVector div(float n) { |
| 636 | x /= n; |
| 637 | y /= n; |
| 638 | z /= n; |
| 639 | return this; |
| 640 | } |
| 641 | |
| 642 | |
| 643 | /** |