dotnet / dotnet/dotnet-api-docs

Vector2.Reflect : Missing: Normal must be normalized

Open
#10,844 1 comment 0 reactions 0 assignees View on GitHub
area-System.Numerics untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Type of issue

Typo

### Description

The documentation for Vector2.Reflect mentions using a normal vector, but it doesn’t explicitly state that the normal vector should be normalized. This can lead to confusion, as the reflection calculation assumes a normalized normal vector. Otherwise Reflect creates a wrong result.

### Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.numerics.vector2.reflect?view=net-9.0

### Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Numerics/Vector2.xml

### Document Version Independent Id

43d18e54-0787-7c38-4591-b76f28408224

### Article author

@dotnet-bot

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.