floor
function · crt · boundary
- Address
0x73ff3f· 207 bytes, up to0x74000d- Meaning
- Returns the largest integer not greater than a double
- Confidence
- inferred
- Finding
- models/particles#substeps
Finding: Substeps in models: particles
An advance clamps a negative dt to 0 and rebuilds the gradients when the lifespan changed. A step
longer than 0.1 s runs n substeps of 0.1 s and one of the remainder dt − 0.1·floor(dt/0.1),
with n = floor(dt/0.1) capped at floor(lifespan/0.1) and at 255; the remainder is taken before
the cap, so the substeps the cap drops are lost time. Each substep moves particles by 1/(n + 1)
of the frame's displacement. Otherwise one step takes the whole displacement.
The derivation is in the doc.
Callers 26
- ExpandSpellToken ui
- IsWholeDuration ui
- RoundToGridCeil gxumath
- RoundToGridCeilAlt gxumath
- SnapViewportRect font
- CGxStringBatch::EmitGlyphQuads font
- CGxString::BuildGlyphQuad font
- CGxString::ComputeAnchor font
- GetWeatherGridHeight lighting
- IntersectWeatherGrid lighting
- RecenterWeatherGrid lighting
- CMapObjGroup::LiquidTileFlags models
- CMapObjGroup::LiquidHeight models
- CMapObjGroup::RayHitLiquid models
- CMapObjGroup::CollectBoxLiquid models
- CMapObjGroup::CollectLiquidVolume models
- WorldTextSetPixelProjection playername
- UpdateCelestialBodies lighting
- M2SceneAddLightsForPoint models
- M2LightLink models
- UpdateKeyboardLcd ui
- CSimpleMessageFrame::AddLine ui
- CParticleEmitter2::Advance models
- CRibbonEmitter::Update models
- math_floor lua
- math_random lua
Callees 5
- __sptype crt
- __handle_qnan1 crt
- __except1 crt
- __ctrlfp crt
- __frnd crt
Calls and jumps by a bare address, from tables/calls.tsv.