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