Browse Source

Fix documentation for C# Vector2/3i classes.

The / operator was wrongly documented as a multiplication.
Lerg 3 years ago
parent
commit
52adbb763e

+ 1 - 1
modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2i.cs

@@ -461,7 +461,7 @@ namespace Godot
         }
         }
 
 
         /// <summary>
         /// <summary>
-        /// Multiplies each component of the <see cref="Vector2i"/>
+        /// Divides each component of the <see cref="Vector2i"/>
         /// by the given <see langword="int"/>.
         /// by the given <see langword="int"/>.
         /// </summary>
         /// </summary>
         /// <param name="vec">The dividend vector.</param>
         /// <param name="vec">The dividend vector.</param>

+ 1 - 1
modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3i.cs

@@ -449,7 +449,7 @@ namespace Godot
         }
         }
 
 
         /// <summary>
         /// <summary>
-        /// Multiplies each component of the <see cref="Vector3i"/>
+        /// Divides each component of the <see cref="Vector3i"/>
         /// by the given <see langword="int"/>.
         /// by the given <see langword="int"/>.
         /// </summary>
         /// </summary>
         /// <param name="vec">The dividend vector.</param>
         /// <param name="vec">The dividend vector.</param>