Physics_2D_Library 0.2.5

Suggested Alternatives

Physics2DLibrary

Additional Details

I got rid of the underscores. This will be the only package-breaking change going forward. New updates (and all subsequent child packages) will be released under the Physics2DLibrary namespace.

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Physics_2D_Library --version 0.2.5
                    
NuGet\Install-Package Physics_2D_Library -Version 0.2.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Physics_2D_Library" Version="0.2.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Physics_2D_Library" Version="0.2.5" />
                    
Directory.Packages.props
<PackageReference Include="Physics_2D_Library" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Physics_2D_Library --version 0.2.5
                    
#r "nuget: Physics_2D_Library, 0.2.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Physics_2D_Library@0.2.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Physics_2D_Library&version=0.2.5
                    
Install as a Cake Addin
#tool nuget:?package=Physics_2D_Library&version=0.2.5
                    
Install as a Cake Tool

2D Physics Library

This is a junior-in-school's first public library. As of now, it contains the Rotation class, a well-tested and defined method for working with coordinates on a 2D plane. It gets and sets Radians and Angles (with accuracy of 1 degree), provides X and Y coordinates of the unit circle, and can be assigned to point at some arbitrary point in space. A few more methods will be defined for this class.

In the future, this package will have a number of additional classes that right now are focused on top-down 2D programs (that don't generally have to deal with a downward force such as gravity). It will take care of raycasting, object line definitions, overlaps, and maybe include some math classes to calculate more complex physics interactions.

I add XML Comments (the ones VS Code and Visual Studio usually read for their Intellisense) to every property, method, and class, so I hope those are of a bit more use to you than a generalized readme. I also intend to add an external documentation page for all the classes and methods I generate here. That is for some future day, though.

Changelog

0.2.5 (12/7/24) - Completed Rotation class - DistanceTo, AverageTo, Cloning Constructor, IEquatable, and IComparable methods added - Overrode operators + (addition), - (subtraction), % (modulo), and ^ (average of two angles) - Ensured XML comments were included in the package - Test cases up to 148 0.2.0 (12/6/24) - Added Rotation class

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated