From 03e2508e45dac88010dcf97d62d471b435ba4f41 Mon Sep 17 00:00:00 2001 From: Grosskopf Date: Sun, 22 Oct 2017 22:43:35 +0200 Subject: Added various docs, mostly mathematical basics --- doc/classes/Vector3.xml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'doc/classes/Vector3.xml') diff --git a/doc/classes/Vector3.xml b/doc/classes/Vector3.xml index fdbdabafd..a05bc5db9 100644 --- a/doc/classes/Vector3.xml +++ b/doc/classes/Vector3.xml @@ -37,6 +37,7 @@ + Returns the vector's minimum angle to the vector [code]to[/code]. @@ -61,7 +62,7 @@ - Return the cross product with b. + Returns the cross product with [code]b[/code]. @@ -76,7 +77,7 @@ - Perform a cubic interpolation between vectors pre_a, a, b, post_b (a is current), by the given amount (t). + Performs a cubic interpolation between vectors [code]pre_a[/code], [code]a[/code], [code]b[/code], [code]post_b[/code] ([code]a[/code] is current), by the given amount (t). @@ -85,7 +86,7 @@ - Return the squared distance (distance minus the last square root) to b. Prefer this function over distance_to if you need to sort vectors or need the squared distance for some formula. + Returns the squared distance to [code]b[/code]. Prefer this function over distance_to if you need to sort vectors or need the squared distance for some formula. @@ -94,7 +95,7 @@ - Return the distance to b. + Returns the distance to b. @@ -103,7 +104,7 @@ - Return the dot product with b. + Returns the dot product with b. @@ -131,14 +132,14 @@ - Return the length of the vector. + Returns the length of the vector. - Return the length of the vector, squared. Prefer this function over "length" if you need to sort vectors or need the squared length for some formula. + Returns the length of the vector, squared. Prefer this function over "length" if you need to sort vectors or need the squared length for some formula. @@ -170,7 +171,7 @@ - Return a copy of the normalized vector to unit length. This is the same as v / v.length(). + Returns a copy of the normalized vector to unit length. This is the same as v / v.length(). @@ -179,7 +180,7 @@ - Return the outer product with b. + Returns the outer product with b. @@ -217,14 +218,14 @@ - Return a copy of the vector, snapped to the lowest neared multiple. + Returns a copy of the vector, snapped to the lowest neared multiple. - Return a diagonal matrix with the vector as main diagonal. + Returns a diagonal matrix with the vector as main diagonal. -- cgit v1.2.3-70-g09d2