add tex document ; fix linker
This commit is contained in:
@@ -43,13 +43,13 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<PlatformToolset>v145</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<PlatformToolset>v145</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
@@ -110,6 +110,8 @@
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>gdiplus.lib;
|
||||
winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
|
||||
Binary file not shown.
@@ -1,13 +1,13 @@
|
||||
/*
|
||||
Preamble:
|
||||
These exact physics calculations are documented in a TeX Document soon to be in the source tree of
|
||||
the project. (as of 06/05/26 not in the tree)
|
||||
the project. (as of 06/05/26 not in the tree; as of 07/05/26 there is a TeX doc. file name: hyrax_exe-TeX_07_05_2026.pdf)
|
||||
|
||||
The physics calculations are done using a Semi-Implicit Euler integrator. (big words)
|
||||
|
||||
| Parameter | Value | Description | Mapped code identifier |
|
||||
|--------------------|--------|------------------------------------------------|------------------------------|
|
||||
| `GRAVITY` | 1200.0 | Downward acceleration (px s⁻²) | `GRAVITY` (constant) |
|
||||
| `GRAVITY` | 1200.0 | Downward acceleration (px s^-2) | `GRAVITY` (constant) |
|
||||
| `RESTITUTION` | 0.6 | Energy retention after bounce | `RESTITUTION` (constant) |
|
||||
| `AIR_DRAG` | 0.999 | Velocity multiplier per frame | `AIR_DRAG` (constant) |
|
||||
| `GROUND_FRICTION` | 0.8 | Horizontal speed reduction on ground | `GROUND_FRICTION` (constant) |
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
class physics
|
||||
{
|
||||
public:
|
||||
scd GRAVITY = 1200.0;
|
||||
scd RESTITUTION = 0.6;
|
||||
scd GRAVITY = 2500.0;
|
||||
scd RESTITUTION = 0.9;
|
||||
scd AIR_DRAG = 0.999;
|
||||
scd GROUND_FRICTION = 0.8;
|
||||
scd REST_THRESHOLD = 5.0;
|
||||
|
||||
Reference in New Issue
Block a user