Skip to content
Failed

Changes

Summary

  1. Extract MechJebLib as separate project/dll (commit: 7d329fd) (details)
Commit 7d329fd5a93dfb58d8f5a8b8369337781f95baf7 by lamont
Extract MechJebLib as separate project/dll

MechJebLib.dll has no references to MJ/Unity/KSP (pure C#)
MechJebLibBindings.dll has references to Unity/KSP (conversion glue)
alglib.dll is extracted so that MJLib+MJ can both reference it
Jetbrains.Annotations is included so MJLib can use it without
  referencing Unity and MJ now uses the updated nuget package as well
  (Unity version is old and now will never get updated)

The TARGET_DIR now contains:

```
JetBrains.Annotations.dll
JetBrains.Annotations.xml
MechJeb2.dll
MechJeb2.pdb
MechJebLib.dll
MechJebLib.pdb
MechJebLibBindings.dll
MechJebLibBindings.pdb
System.Core.dll
System.dll
alglib.dll
alglib.pdb
mscorlib.dll
```

System.Core.dll, System.dll, mscorlib.dll shouldn't ship with the zip
file, but everything else should go into the MechJeb/Plugins directory

System.Buffers.dll can be removed it hasn't been necessary for quite
some time.

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
(commit: 7d329fd)
The file was modified MechJeb2/MechJebModuleNodeEditor.cs (diff)
The file was removedMechJeb2/MechJebLib/Lambert/Izzo.cs
The file was addedMechJebLib/Utils/ObjectPool.cs
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/PartModules/SimModuleDecouple.cs
The file was removedMechJeb2/MechJebLib/Lambert/Gooding.cs
The file was modified MechJeb2/Maneuver/OperationTransfer.cs (diff)
The file was modified MechJeb2/MechJebModuleDeployableAntennaController.cs (diff)
The file was modified MechJeb2/OrbitalManeuverCalculator.cs (diff)
The file was modified MechJeb2/MechJebModuleAirplaneAutopilot.cs (diff)
The file was addedalglib/optimization.cs
The file was removedMechJeb2/alglib/fasttransforms.cs
The file was removedMechJeb2/MechJebLib/ODE/AbstractRungeKutta.cs
The file was addedMechJebLib/FuelFlowSimulation/FuelFlowSimulation.cs
The file was addedMechJebLibBindings/FuelFlowSimulation/SimVesselBuilder.cs
The file was addedMechJebLib/Properties/AssemblyInfo.cs
The file was modified MechJeb2/Maneuver/OperationAdvancedTransfer.cs (diff)
The file was addedalglib/alglibmisc.cs
The file was addedMechJebLib/ODE/AbstractRungeKutta.cs
The file was modified MechJeb2/Maneuver/OperationInterplanetaryTransfer.cs (diff)
The file was addedMechJebLib/MechJebLib.csproj
The file was modified MechJeb2/MechJebModuleWarpController.cs (diff)
The file was addedMechJebLib/Rootfinding/Bisection.cs
The file was addedalglib/diffequations.cs
The file was modified MechJeb2/MechJebModuleRCSBalancerWindow.cs (diff)
The file was removedMechJeb2/MechJebLib/PVG/OutputLayout.cs
The file was addedMechJebLibBindings/ReflectionUtils.cs
The file was modified MechJeb2/DisplayModule.cs (diff)
The file was removedMechJeb2/MechJebLib/ODE/DP5.cs
The file was modified MechJeb2/AttitudeControllers/BetterController.cs (diff)
The file was removedMechJeb2/MechJebLib/Functions/Interpolants.cs
The file was modified MechJeb2/MechJebModuleRoverController.cs (diff)
The file was removedMechJeb2/alglib/specialfunctions.cs
The file was modified MechJeb2/MechJebModuleLandingGuidance.cs (diff)
The file was addedMechJebLib/ODE/DP5.cs
The file was removedMechJeb2/MechJebLib/Primitives/H1.cs
The file was addedMechJebLib/FuelFlowSimulation/SimVessel.cs
The file was modified MechJeb2/copy_build.sh (diff)
The file was addedalglib/dataanalysis.cs
The file was addedMechJebLib/ODE/BS3.cs
The file was modified MechJeb2/MechJebModuleAscentMenu.cs (diff)
The file was modified MechJeb2/MechJebModuleAscentPVGSettingsMenu.cs (diff)
The file was removedMechJeb2/MechJebLib/PVG/Terminal/FlightPathAngle3Energy.cs
The file was modified MechJeb2/MechJebModuleRCSBalancer.cs (diff)
The file was addedMechJebLib/FuelFlowSimulation/PartModules/SimProceduralFairingDecoupler.cs
The file was addedMechJebLib/PVG/Terminal/Kepler4Reduced.cs
The file was addedMechJebLib/Primitives/H1.cs
The file was removedMechJeb2/MechJebLib/ODE/AbstractIVP.cs
The file was modified MechJeb2/MechJebModuleAscentSettings.cs (diff)
The file was removedMechJeb2/alglib/diffequations.cs
The file was modified MechJeb2/MechJebModuleSuicideTimer.cs (diff)
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/SimResource.cs
The file was addedMechJebLib/PVG/ContinuityLayout.cs
The file was modified MechJeb2/MechJebModuleSmartRcs.cs (diff)
The file was addedMechJebLibBindings/H1Extensions.cs
The file was modified MechJeb2/MechJebModuleInfoItems.cs (diff)
The file was modified MechJeb2/MechJebModuleAttitudeAdjustment.cs (diff)
The file was modified MechJeb2/Maneuver/OperationEllipticize.cs (diff)
The file was removedMechJeb2/MechJebLib/PVG/InputLayout.cs
The file was addedalglib/ap.cs
The file was modified MechJeb2/MechJebModuleWarpHelper.cs (diff)
The file was removedMechJeb2/MechJebLib/Maneuvers/Simple.cs
The file was addedMechJebLib/PVG/Ascent.cs
The file was removedMechJeb2/alglib/statistics.cs
The file was addedMechJebLib/FuelFlowSimulation/PartModules/SimModuleDockingNode.cs
The file was addedMechJebLib/Lambert/Gooding.cs
The file was addedMechJebLib/Utils/DictOfLists.cs
The file was removedMechJeb2/MechJebLib/Functions/Astro.cs
The file was removedMechJeb2/MechJebLib/PVG/Integrators/IPVGIntegrator.cs
The file was modified MechJeb2/MechJebModuleManeuverPlanner.cs (diff)
The file was modified MechJeb2/MechJebModuleGuidanceController.cs (diff)
The file was removedMechJeb2/MechJebLib/Maneuvers/ReturnFromMoon.cs
The file was modified MechJeb2/OrbitExtensions.cs (diff)
The file was addedMechJebLib/FuelFlowSimulation/DecouplingAnalyzer.cs
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/SimPropellant.cs
The file was removedMechJeb2/MechJebLib/TwoBody/Shepperd.cs
The file was addedalglib/interpolation.cs
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/SimVesselManager.cs
The file was modified MechJeb2/MechJebModuleAscentSettingsMenu.cs (diff)
The file was modified MechJeb2/MechJebModuleThrustWindow.cs (diff)
The file was modified MechJeb2/MechJebModulePVGGlueBall.cs (diff)
The file was addedMechJebLibBindings/MechJebLibBindings.csproj
The file was removedMechJeb2/alglib/optimization.cs
The file was addedMechJebLib/SuicideBurnSimulation/Suicide.cs
The file was addedMechJebLib/Utils/BackgroundJob.cs
The file was addedMechJebLib/PVG/Integrators/VacuumCoastAnalytic.cs
The file was addedMechJebLib/Functions/Astro.cs
The file was addedMechJebLib/Primitives/DualV3.cs
The file was addedMechJebLibBindings/Properties/AssemblyInfo.cs
The file was addedMechJebLib/PVG/ResidualLayout.cs
The file was modified MechJeb2/VesselState.cs (diff)
The file was addedMechJebLib/FuelFlowSimulation/SimPartModule.cs
The file was removedMechJeb2/MechJebLib/FunctionImpls/RealDeltaVToChangeApoapsisPrograde.cs
The file was addedMechJebLib/PVG/Integrators/VacuumThrustIntegrator.cs
The file was addedMechJebLib/PVG/Terminal/FlightPathAngle4Energy.cs
The file was removedMechJeb2/MechJebLib/Utils/ObjectPool.cs
The file was modified MechJeb2/MechJebModuleLandingAutopilot.cs (diff)
The file was modified MechJeb2/MechJebModuleStagingController.cs (diff)
The file was modified MechJeb2/Maneuver/OperationResonantOrbit.cs (diff)
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/SimVessel.cs
The file was removedMechJeb2/MechJebLib/PVG/Terminal/Kepler5Reduced.cs
The file was removedMechJeb2/alglib/alglibinternal.cs
The file was addedMechJebLib/Functions/Interpolants.cs
The file was addedMechJebLib/Maneuvers/TwoImpulseTransfer.cs
The file was modified MechJeb2/MechJebModuleDeployableController.cs (diff)
The file was removedMechJeb2/MechJebLib/Functions/Angles.cs
The file was removedMechJeb2/MechJebLib/PVG/Terminal/Kepler4Reduced.cs
The file was removedMechJeb2/MechJebLib/FunctionImpls/RealSingleImpulseHyperbolicBurn.cs
The file was removedMechJeb2/MechJebLib/PVG/Terminal/FlightPathAngle4Propellant.cs
The file was removedMechJeb2/MechJebLib/Control/PIDLoop.cs
The file was modified MechJeb2/AttitudeControllers/MJAttitudeController.cs (diff)
The file was removedMechJeb2/MechJebLib/PVG/ResidualLayout.cs
The file was modified MechJeb2/Maneuver/TransferCalculator.cs (diff)
The file was modified MechJeb2/MechJebModuleSpinupController.cs (diff)
The file was removedMechJeb2/MechJebLib/PVG/Terminal/Intercept6Cartesian.cs
The file was removedMechJeb2/MechJebLib/README.md
The file was addedMechJebLib/Primitives/V3.cs
The file was removedMechJeb2/MechJebLib/ODE/BS3.cs
The file was addedMechJebLib/PVG/Problem.cs
The file was modified MechJebLibTest/MechJebLibTest.csproj (diff)
The file was addedMechJebLib/FuelFlowSimulation/PartModules/SimModuleDecouple.cs
The file was modified MechJeb2/MechJebModuleCustomInfoWindow.cs (diff)
The file was addedMechJebLib/Functions/Angles.cs
The file was removedMechJeb2/ReflectionUtils.cs
The file was modified MechJeb2/Maneuver/OperationMoonReturn.cs (diff)
The file was modified MechJeb2/MechJebModuleRendezvousAutopilotWindow.cs (diff)
The file was addedMechJebLib/Lambert/Izzo.cs
The file was addedalglib/statistics.cs
The file was addedMechJebLib/Utils/MechJebLibException.cs
The file was addedalglib/specialfunctions.cs
The file was addedMechJebLib/PVG/Solution.cs
The file was removedMechJeb2/MechJebLib/PVG/Problem.cs
The file was modified MechJeb2/MechJebModuleRendezvousGuidance.cs (diff)
The file was modified MechJeb2/Maneuver/Porkchop.cs (diff)
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/SimPartModule.cs
The file was addedMechJebLib/PVG/InputLayout.cs
The file was addedMechJebLib/Primitives/Hn.cs
The file was addedMechJebLib/FuelFlowSimulation/SimPart.cs
The file was removedMechJeb2/alglib/linalg.cs
The file was modified MechJeb2/CelestialBodyExtensions.cs (diff)
The file was removedMechJeb2/MechJebLib/PVG/Integrators/VacuumThrustAnalytic.cs
The file was addedMechJebLib/Primitives/HBase.cs
The file was removedMechJeb2/MechJebLib/Utils/BackgroundJob.cs
The file was addedalglib/integration.cs
The file was removedMechJeb2/MechJebLib/Primitives/V3.cs
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/FuelStats.cs
The file was removedMechJeb2/MechJebLib/PVG/Terminal/FlightPathAngle4Energy.cs
The file was removedMechJeb2/MechJebLib/Utils/Statics.cs
The file was addedalglib/Properties/AssemblyInfo.cs
The file was addedMechJebLib/PVG/Terminal/FlightPathAngle4Propellant.cs
The file was addedMechJebLib/SuicideBurnSimulation/SuicideBuilder.cs
The file was removedMechJeb2/alglib/integration.cs
The file was addedMechJebLib/PVG/Optimizer.cs
The file was modified MechJeb2/Maneuver/OperationCircularize.cs (diff)
The file was removedMechJeb2/MechJebLib/SuicideBurnSimulation/Suicide.cs
The file was addedMechJebLib/FuelFlowSimulation/PartModules/SimLaunchClamp.cs
The file was removedMechJeb2/MechJebLib/PVG/Ascent.cs
The file was modified MechJeb2/Maneuver/OperationCourseCorrection.cs (diff)
The file was modified MechJeb2/Maneuver/OperationLambert.cs (diff)
The file was modified MechJeb2/MechJebModuleTranslatron.cs (diff)
The file was addedMechJebLib/Functions/Maneuvers.cs
The file was modified MechJeb2/MechJebModuleDockingAutopilot.cs (diff)
The file was removedMechJeb2/MechJebLib/PVG/ContinuityLayout.cs
The file was removedMechJeb2/MechJebLib/Utils/Check.cs
The file was modified MechJeb2/MechJebModuleNodeExecutor.cs (diff)
The file was removedMechJeb2/MechJebLib/Minimization/BrentMin.cs
The file was addedMechJebLib/PVG/Phase.cs
The file was addedMechJebLib/PVG/Terminal/FlightPathAngle5Reduced.cs
The file was addedMechJebLib/PVG/Terminal/Intercept6Cartesian.cs
The file was removedMechJeb2/alglib/ap.cs
The file was addedMechJebLib/Primitives/M3.cs
The file was addedMechJebLib/Maneuvers/ReturnFromMoon.cs
The file was addedMechJebLib/PVG/Integrators/VacuumThrustAnalytic.cs
The file was addedMechJebLib/Control/PIDLoop.cs
The file was removedMechJeb2/MechJebLib/PVG/Integrators/VacuumCoastAnalytic.cs
The file was removedMechJeb2/MechJebLib/PVG/Terminal/FlightPathAngle4Reduced.cs
The file was addedMechJebLib/Maneuvers/ChangeOrbitalElement.cs
The file was addedMechJebLib/Utils/Logger.cs
The file was removedMechJeb2/alglib/alglibmisc.cs
The file was removedMechJeb2/MechJebLib/Rootfinding/BrentRoot.cs
The file was removedMechJeb2/MechJebLib/PVG/Solution.cs
The file was removedMechJeb2/MechJebLib/PVG/Terminal/FlightPathAngle5Reduced.cs
The file was removedMechJeb2/alglib/solvers.cs
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/PartModules/SimModuleDockingNode.cs
The file was removedMechJeb2/MechJebLib/Primitives/DualV3.cs
The file was modified MechJeb2/Maneuver/OperationLan.cs (diff)
The file was modified MechJeb2/copy_build.bat (diff)
The file was modified MechJeb2/Maneuver/OperationSemiMajor.cs (diff)
The file was removedMechJeb2/alglib/interpolation.cs
The file was addedMechJebLib/FunctionImpls/RealSingleImpulseHyperbolicBurn.cs
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/PartModules/SimModuleRCS.cs
The file was modified MechJeb2/MechJebModuleLandingPredictions.cs (diff)
The file was addedMechJebLibBindings/FuelFlowSimulation/SimVesselUpdater.cs
The file was modified MechJeb2/MechJebModuleThrustController.cs (diff)
The file was removedMechJeb2/MechJebLib/PVG/Optimizer.cs
The file was modified MechJeb2/Maneuver/OperationKillRelVel.cs (diff)
The file was removedMechJeb2/MechJebLib/Utils/Logger.cs
The file was addedMechJebLib/TwoBody/Farnocchia.cs
The file was modified MechJeb2/Maneuver/OperationPeriapsis.cs (diff)
The file was modified MechJeb2/MechJebModuleWaypointWindow.cs (diff)
The file was modified MechJeb2/MechJebModuleStageStats.cs (diff)
The file was addedalglib/linalg.cs
The file was addedMechJebLib/PVG/Terminal/Kepler3Reduced.cs
The file was removedMechJeb2/MechJebLib/Primitives/Q3.cs
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/DecouplingAnalyzer.cs
The file was addedMechJebLib/TwoBody/Shepperd.cs
The file was modified MechJeb2/MechJebModuleRendezvousAutopilot.cs (diff)
The file was removedMechJeb2/MechJebLib/Utils/MechJebLibException.cs
The file was addedMechJebLib/FuelFlowSimulation/PartModules/SimModuleEngines.cs
The file was removedMechJeb2/MechJebLib/SuicideBurnSimulation/SuicideBuilder.cs
The file was modified MechJeb2/Maneuver/OperationLongitude.cs (diff)
The file was addedMechJebLib/PVG/Integrators/IPVGIntegrator.cs
The file was modified MechJeb2/MechJebModuleFlightRecorderGraph.cs (diff)
The file was addedMechJebLib/Primitives/Vn.cs
The file was modified MechJeb2/MechJebModuleDebugArrows.cs (diff)
The file was removedMechJeb2/MechJebLib/PVG/Terminal/IPVGTerminal.cs
The file was removedMechJeb2/MechJebLib/Utils/DictOfLists.cs
The file was modified MechJeb2/MechJebCore.cs (diff)
The file was modified MechJeb2/MechJebModuleAirplaneGuidance.cs (diff)
The file was modified MechJeb2/ModExtensionDemo.cs (diff)
The file was modified MechJeb2/Maneuver/OperationPlane.cs (diff)
The file was addedMechJebLib/PVG/AscentBuilder.cs
The file was modified MechJeb2/MechJebModuleRoverWindow.cs (diff)
The file was removedMechJeb2/MechJebLib/Maneuvers/ChangeOrbitalElement.cs
The file was addedMechJebLib/Primitives/Scale.cs
The file was addedMechJebLib/FuelFlowSimulation/SimPropellant.cs
The file was modified MechJeb2/MechJebModuleAscentGTAutopilot.cs (diff)
The file was removedMechJeb2/MechJebLib/PVG/AscentBuilder.cs
The file was modified MechJeb2/MechJebModuleMenu.cs (diff)
The file was removedMechJeb2/MechJebLib/TwoBody/Farnocchia.cs
The file was removedMechJeb2/MechJebLib/Primitives/H3.cs
The file was modified MechJeb2/Vector6.cs (diff)
The file was modified MechJeb2/Maneuver/OperationEccentricity.cs (diff)
The file was modified MechJeb2/MechJebModuleSolarPanelController.cs (diff)
The file was modified MechJeb2/MathExtensions.cs (diff)
The file was addedMechJebLib/ODE/Event.cs
The file was modified MechJeb2/MechJebModuleTargetController.cs (diff)
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/FuelFlowSimulation.cs
The file was addedMechJebLib/Primitives/Q3.cs
The file was addedalglib/alglib.csproj
The file was addedMechJebLib/Primitives/Dual.cs
The file was removedMechJeb2/alglib/dataanalysis.cs
The file was modified MechJeb2/Maneuver/OperationInclination.cs (diff)
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/PartModules/SimLaunchClamp.cs
The file was removedMechJeb2/MechJebLib/Rootfinding/Bisection.cs
The file was modified MechJeb2/ComputerModule.cs (diff)
The file was removedMechJeb2/MechJebLib/Primitives/Vn.cs
The file was addedMechJebLib/Rootfinding/BrentRoot.cs
The file was removedMechJeb2/MechJebLib/Primitives/HBase.cs
The file was modified MechJeb2/AttitudeControllers/KosPIDLoop.cs (diff)
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/PartModules/SimProceduralFairingDecoupler.cs
The file was addedMechJebLib/FunctionImpls/RealDeltaVToChangeApoapsisPrograde.cs
The file was addedalglib/solvers.cs
The file was modified MechJeb2/MechJebModuleAscentPVGAutopilot.cs (diff)
The file was addedMechJebLib/PVG/OutputLayout.cs
The file was addedalglib/alglibinternal.cs
The file was modified MechJeb2/MechJebModuleAttitudeController.cs (diff)
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/PartModules/SimModuleEngines.cs
The file was modified MechJeb2/AttitudeControllers/HybridController.cs (diff)
The file was modified MechJeb2/MechJebModuleDockingGuidance.cs (diff)
The file was modified MechJeb2/AttitudeControllers/KosAttitudeController.cs (diff)
The file was addedMechJebLib/Primitives/H3.cs
The file was modified MechJeb2/MechJebModuleFlightRecorder.cs (diff)
The file was addedMechJebLib/Maneuvers/Simple.cs
The file was removedMechJeb2/MechJebLib/PVG/OptimizerBuilder.cs
The file was modified MechJeb2/MechJeb2.csproj (diff)
The file was addedMechJebLib/packages.config
The file was modified MechJeb2/MechJebModuleSpaceplaneAutopilot.cs (diff)
The file was addedMechJebLib/FuelFlowSimulation/PartModules/SimModuleRCS.cs
The file was modified MechJeb2.sln (diff)
The file was addedMechJebLib/FuelFlowSimulation/FuelStats.cs
The file was removedMechJeb2/MechJebLib/Primitives/Dual.cs
The file was removedMechJeb2/MechJebLib/Primitives/Scale.cs
The file was modified MechJeb2/Maneuver/OperationApoapsis.cs (diff)
The file was modified MechJeb2/MechJebModuleSmartASS.cs (diff)
The file was modified MechJeb2/MechJebModuleAscentClassicPathMenu.cs (diff)
The file was modified MechJeb2/MechJebModuleRCSController.cs (diff)
The file was removedMechJeb2/MechJebLib/Functions/Maneuvers.cs
The file was addedMechJebLib/Minimization/BrentMin.cs
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/SimVesselUpdater.cs
The file was addedMechJebLib/PVG/OptimizerBuilder.cs
The file was addedalglib/fasttransforms.cs
The file was addedMechJebLib/Utils/Statics.cs
The file was removedMechJeb2/MechJebLib/Primitives/Hn.cs
The file was removedMechJeb2/MechJebLib/Maneuvers/TwoImpulseTransfer.cs
The file was addedMechJebLib/PVG/Terminal/Kepler5Reduced.cs
The file was removedMechJeb2/MechJebLib/Primitives/M3.cs
The file was addedMechJebLib/PVG/Terminal/IPVGTerminal.cs
The file was removedMechJeb2/MechJebLib/PVG/Phase.cs
The file was addedMechJebLib/Utils/Check.cs
The file was modified MechJeb2/Maneuver/TimeSelector.cs (diff)
The file was addedMechJebLib/PVG/Terminal/FlightPathAngle3Energy.cs
The file was removedMechJeb2/MechJebLib/PVG/Terminal/Kepler3Reduced.cs
The file was addedMechJebLibBindings/FuelFlowSimulation/SimVesselManager.cs
The file was addedMechJebLib/PVG/Terminal/FlightPathAngle4Reduced.cs
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/SimVesselBuilder.cs
The file was modified MechJeb2/MechJebModuleSpaceplaneGuidance.cs (diff)
The file was modified MechJeb2/GuiUtils.cs (diff)
The file was removedMechJeb2/MechJebLib/PVG/Integrators/VacuumThrustIntegrator.cs
The file was modified MechJeb2/MechJebModuleAscentClassicAutopilot.cs (diff)
The file was removedMechJeb2/MechJebLib/FuelFlowSimulation/SimPart.cs
The file was addedMechJebLib/ODE/AbstractIVP.cs
The file was removedMechJeb2/MechJebLib/ODE/Event.cs
The file was addedMechJebLib/FuelFlowSimulation/SimResource.cs
The file was addedMechJebLibBindings/MathExtensions.cs