StarSim

StarSim.git
git clone git://git.lenczewski.org/StarSim.git
Log | Files | Refs | README | LICENSE

commit 32d2510a674462ed6bf764da58294c3ec01094b0
parent ed5a51381eb68fd2c24325037442a75f3d1238cf
Author: Mikolaj Lenczewski <33129490+EnderRifter@users.noreply.github.com>
Date:   Mon,  8 Jul 2019 13:39:32 +0100

Removed dead and unused code files.

Diffstat:
DStarSim/StarSimLib/Data Structures/Quaternion.cs | 10----------
DStarSim/StarSimLib/Extensions/Vector3fExtensions.cs | 23-----------------------
2 files changed, 0 insertions(+), 33 deletions(-)

diff --git a/StarSim/StarSimLib/Data Structures/Quaternion.cs b/StarSim/StarSimLib/Data Structures/Quaternion.cs @@ -1,9 +0,0 @@ -namespace StarSimLib.Data_Structures -{ - /// <summary> - /// Represents a rotation as a set of 4 values. - /// </summary> - public struct Quaternion - { - } -} -\ No newline at end of file diff --git a/StarSim/StarSimLib/Extensions/Vector3fExtensions.cs b/StarSim/StarSimLib/Extensions/Vector3fExtensions.cs @@ -1,22 +0,0 @@ -using System; -using SFML.System; - -namespace StarSimLib.Extensions -{ - /// <summary> - /// Provides additional functionality to the <see cref="Vector3f"/> struct. - /// </summary> - public static class Vector3fExtensions - { - /// <summary> - /// Returns the magnitude of the given <see cref="Vector3f"/>. - /// </summary> - /// <param name="vector">The vector whose magnitude to return.</param> - /// <returns>The magnitude of the given <see cref="Vector3f"/>.</returns> - public static float Magnitude(this Vector3f vector) - { - // returns the magnitude of the vector, via pythagoras - return (float)Math.Sqrt(vector.X * vector.X + vector.Y * vector.Y + vector.Z + vector.Z); - } - } -} -\ No newline at end of file