소스 검색

Fix documentation for C# Vector2/3i classes.

The / operator was wrongly documented as a multiplication.
Lerg 3 년 전
부모
커밋
52adbb763e
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2i.cs
  2. 1 1
      modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3i.cs

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

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

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

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