01_user_documentation:07_rgg_xl:02_xl:09_java_addition:overload_operator:06_div
This is an old revision of the document!
div
The devision operator โdivโ (/, operator$div) by default overloaded for VecMath
VecMath
For vector mathematics the div operator is used for the different vectors and points:
- Vector2f
- Vector2d
- Point2f
- Point2d
- Vector3f
- Vector3d
- Point3d
- Point3f
- Vector4d
- Vector4f
- Point4d
- Point4f
Vector3f a = new Vector3f(0,1,2); println(a /2); //(0.0, 0.5, 1.0) println(a /1.3); //(0.0, 0.7692308, 1.5384616)
01_user_documentation/07_rgg_xl/02_xl/09_java_addition/overload_operator/06_div.1774617115.txt.gz ยท Last modified: 2026/03/27 14:11 by Tim
