summaryrefslogtreecommitdiff
path: root/doc/classes/Vector3i.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-07-30 15:28:05 +0200
committerRémi Verschelde <rverschelde@gmail.com>2021-07-30 15:29:52 +0200
commit7adf4cc9b5de6701a41e27690a69b9892d5eed85 (patch)
tree0019e6d1b7cd993b81d5bba268074cfc4e10a213 /doc/classes/Vector3i.xml
parenta1c19b9a1e53f78c75c13cb418270db80057b21a (diff)
doc: Use self-closing tags for `return` and `argument`
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
Diffstat (limited to 'doc/classes/Vector3i.xml')
-rw-r--r--doc/classes/Vector3i.xml156
1 files changed, 52 insertions, 104 deletions
diff --git a/doc/classes/Vector3i.xml b/doc/classes/Vector3i.xml
index e08bafa665..75df182025 100644
--- a/doc/classes/Vector3i.xml
+++ b/doc/classes/Vector3i.xml
@@ -15,225 +15,173 @@
</tutorials>
<methods>
<method name="Vector3i" qualifiers="constructor">
- <return type="Vector3i">
- </return>
+ <return type="Vector3i" />
<description>
Constructs a default-initialized [Vector3i] with all components set to [code]0[/code].
</description>
</method>
<method name="Vector3i" qualifiers="constructor">
- <return type="Vector3i">
- </return>
- <argument index="0" name="from" type="Vector3i">
- </argument>
+ <return type="Vector3i" />
+ <argument index="0" name="from" type="Vector3i" />
<description>
Constructs a [Vector3i] as a copy of the given [Vector3i].
</description>
</method>
<method name="Vector3i" qualifiers="constructor">
- <return type="Vector3i">
- </return>
- <argument index="0" name="from" type="Vector3">
- </argument>
+ <return type="Vector3i" />
+ <argument index="0" name="from" type="Vector3" />
<description>
Constructs a new [Vector3i] from [Vector3]. The floating point coordinates will be truncated.
</description>
</method>
<method name="Vector3i" qualifiers="constructor">
- <return type="Vector3i">
- </return>
- <argument index="0" name="x" type="int">
- </argument>
- <argument index="1" name="y" type="int">
- </argument>
- <argument index="2" name="z" type="int">
- </argument>
+ <return type="Vector3i" />
+ <argument index="0" name="x" type="int" />
+ <argument index="1" name="y" type="int" />
+ <argument index="2" name="z" type="int" />
<description>
Returns a [Vector3i] with the given components.
</description>
</method>
<method name="abs" qualifiers="const">
- <return type="Vector3i">
- </return>
+ <return type="Vector3i" />
<description>
</description>
</method>
<method name="clamp" qualifiers="const">
- <return type="Vector3i">
- </return>
- <argument index="0" name="min" type="Vector3i">
- </argument>
- <argument index="1" name="max" type="Vector3i">
- </argument>
+ <return type="Vector3i" />
+ <argument index="0" name="min" type="Vector3i" />
+ <argument index="1" name="max" type="Vector3i" />
<description>
Returns a new vector with all components clamped between the components of [code]min[/code] and [code]max[/code], by running [method @GlobalScope.clamp] on each component.
</description>
</method>
<method name="max_axis" qualifiers="const">
- <return type="int">
- </return>
+ <return type="int" />
<description>
Returns the axis of the vector's largest value. See [code]AXIS_*[/code] constants. If all components are equal, this method returns [constant AXIS_X].
</description>
</method>
<method name="min_axis" qualifiers="const">
- <return type="int">
- </return>
+ <return type="int" />
<description>
Returns the axis of the vector's smallest value. See [code]AXIS_*[/code] constants. If all components are equal, this method returns [constant AXIS_Z].
</description>
</method>
<method name="operator !=" qualifiers="operator">
- <return type="bool">
- </return>
- <argument index="0" name="right" type="Vector3i">
- </argument>
+ <return type="bool" />
+ <argument index="0" name="right" type="Vector3i" />
<description>
</description>
</method>
<method name="operator %" qualifiers="operator">
- <return type="Vector3i">
- </return>
- <argument index="0" name="right" type="Vector3i">
- </argument>
+ <return type="Vector3i" />
+ <argument index="0" name="right" type="Vector3i" />
<description>
</description>
</method>
<method name="operator %" qualifiers="operator">
- <return type="Vector3i">
- </return>
- <argument index="0" name="right" type="int">
- </argument>
+ <return type="Vector3i" />
+ <argument index="0" name="right" type="int" />
<description>
</description>
</method>
<method name="operator *" qualifiers="operator">
- <return type="Vector3i">
- </return>
- <argument index="0" name="right" type="Vector3i">
- </argument>
+ <return type="Vector3i" />
+ <argument index="0" name="right" type="Vector3i" />
<description>
</description>
</method>
<method name="operator *" qualifiers="operator">
- <return type="Vector3i">
- </return>
- <argument index="0" name="right" type="float">
- </argument>
+ <return type="Vector3i" />
+ <argument index="0" name="right" type="float" />
<description>
</description>
</method>
<method name="operator *" qualifiers="operator">
- <return type="Vector3i">
- </return>
- <argument index="0" name="right" type="int">
- </argument>
+ <return type="Vector3i" />
+ <argument index="0" name="right" type="int" />
<description>
</description>
</method>
<method name="operator +" qualifiers="operator">
- <return type="Vector3i">
- </return>
- <argument index="0" name="right" type="Vector3i">
- </argument>
+ <return type="Vector3i" />
+ <argument index="0" name="right" type="Vector3i" />
<description>
</description>
</method>
<method name="operator -" qualifiers="operator">
- <return type="Vector3i">
- </return>
- <argument index="0" name="right" type="Vector3i">
- </argument>
+ <return type="Vector3i" />
+ <argument index="0" name="right" type="Vector3i" />
<description>
</description>
</method>
<method name="operator /" qualifiers="operator">
- <return type="Vector3i">
- </return>
- <argument index="0" name="right" type="Vector3i">
- </argument>
+ <return type="Vector3i" />
+ <argument index="0" name="right" type="Vector3i" />
<description>
</description>
</method>
<method name="operator /" qualifiers="operator">
- <return type="Vector3i">
- </return>
- <argument index="0" name="right" type="float">
- </argument>
+ <return type="Vector3i" />
+ <argument index="0" name="right" type="float" />
<description>
</description>
</method>
<method name="operator /" qualifiers="operator">
- <return type="Vector3i">
- </return>
- <argument index="0" name="right" type="int">
- </argument>
+ <return type="Vector3i" />
+ <argument index="0" name="right" type="int" />
<description>
</description>
</method>
<method name="operator &lt;" qualifiers="operator">
- <return type="bool">
- </return>
- <argument index="0" name="right" type="Vector3i">
- </argument>
+ <return type="bool" />
+ <argument index="0" name="right" type="Vector3i" />
<description>
</description>
</method>
<method name="operator &lt;=" qualifiers="operator">
- <return type="bool">
- </return>
- <argument index="0" name="right" type="Vector3i">
- </argument>
+ <return type="bool" />
+ <argument index="0" name="right" type="Vector3i" />
<description>
</description>
</method>
<method name="operator ==" qualifiers="operator">
- <return type="bool">
- </return>
- <argument index="0" name="right" type="Vector3i">
- </argument>
+ <return type="bool" />
+ <argument index="0" name="right" type="Vector3i" />
<description>
</description>
</method>
<method name="operator &gt;" qualifiers="operator">
- <return type="bool">
- </return>
- <argument index="0" name="right" type="Vector3i">
- </argument>
+ <return type="bool" />
+ <argument index="0" name="right" type="Vector3i" />
<description>
</description>
</method>
<method name="operator &gt;=" qualifiers="operator">
- <return type="bool">
- </return>
- <argument index="0" name="right" type="Vector3i">
- </argument>
+ <return type="bool" />
+ <argument index="0" name="right" type="Vector3i" />
<description>
</description>
</method>
<method name="operator []" qualifiers="operator">
- <return type="int">
- </return>
- <argument index="0" name="index" type="int">
- </argument>
+ <return type="int" />
+ <argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="operator unary+" qualifiers="operator">
- <return type="Vector3i">
- </return>
+ <return type="Vector3i" />
<description>
</description>
</method>
<method name="operator unary-" qualifiers="operator">
- <return type="Vector3i">
- </return>
+ <return type="Vector3i" />
<description>
</description>
</method>
<method name="sign" qualifiers="const">
- <return type="Vector3i">
- </return>
+ <return type="Vector3i" />
<description>
Returns the vector with each component set to one or negative one, depending on the signs of the components.
</description>