summaryrefslogtreecommitdiffstats
path: root/src/math/vector.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/vector.php')
-rw-r--r--src/math/vector.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/math/vector.php b/src/math/vector.php
index 9415bca..c34b34d 100644
--- a/src/math/vector.php
+++ b/src/math/vector.php
@@ -11,6 +11,13 @@
/**
* Represents two dimensional vectors
*
+ * This class is internally used to represent vectors for geometric calculation
+ * in the two dimensional cartesian coordinate system.
+ *
+ * Vectors are an extension of the basic coordinate class, and add methods to
+ * calculate the length of a vector, perform various operations on angles, like
+ * rotations and the calculation of angles between two vectors.
+ *
* @version //autogentag//
* @package Graph
* @access private
OpenPOWER on IntegriCloud