This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Vector3D.Reflect
Morten Aune Lyrstad edited this page Oct 10, 2019
·
16 revisions
← Index ← Namespace Index ← Vector3D
public static Vector3D Reflect(Vector3D vector, Vector3D normal)
Returns the reflection of a vector off a surface that has the specified normal. Reference page contains code sample.
public static void Reflect(ref Vector3D vector, ref Vector3D normal, out Vector3D result)
Returns the reflection of a vector off a surface that has the specified normal. Reference page contains code sample.
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!