Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation broken link: Vec3.cs, Dot method #950

Open
laultman opened this issue Apr 5, 2024 · 0 comments
Open

Documentation broken link: Vec3.cs, Dot method #950

laultman opened this issue Apr 5, 2024 · 0 comments

Comments

@laultman
Copy link

laultman commented Apr 5, 2024

Description

Vec3.cs in SK documentation references a broken link.

		/// <summary>The dot product is an extremely useful operation! One
		/// major use is to determine how similar two vectors are. If the
		/// vectors are Unit vectors (magnitude/length of 1), then the result
		/// will be 1 if the vectors are the same, -1 if they're opposite,
		/// and a gradient in-between with 0 being perpendicular. See
		/// [Freya Holmer's excellent visualization](https://twitter.com/FreyaHolmer/status/1200807790580768768)
		/// of this concept</summary>
		/// <param name="a">First vector.</param>
		/// <param name="b">Second vector.</param>
		/// <returns>The dot product!</returns>
		[MethodImpl(MethodImplOptions.AggressiveInlining)]
		public static float Dot(Vec3 a, Vec3 b)
			=> Vector3.Dot(a.v, b.v);

Current link: here

@laultman laultman changed the title Documentation broken link: Documentation broken link: Vec3.cs, Dot method Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant