EPOK RUNTIME
namespace epok::detail
3 types, 11 functions and 5 data symbols.
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Types
CharacterCommandLeaseClass template declared by the character3d module for shared world-unit character commands, collision locomotion and motion samples.Class templateCharacterCommandUpdateScopeStruct declared by the character-commands module for extensible command producers and point/target movement policies for shared character motors.StructSineTable2DStruct declared by the world2d module for the world2d module.StructFunctions
character_planar_velocityPerforms `character planar velocity` as part of extensible command producers and point/target movement policies for shared character motors.Functioncharacter_position_2dPerforms `character position 2d` as part of extensible command producers and point/target movement policies for shared character motors.Functionclamp_raw_2dSaturating conversion of a raw Q12 accumulator back into Fixed.Functioncompact_class_idSingle-block SHA-256: enough for a 36 character UUID (message + padding <= 64 bytes).Functionmake_sine_table_2dPerforms `make sine table 2d` as part of the world2d module.Functionmul_2dPerforms `mul 2d` as part of the world2d module.Functionprepare_character_commandPerforms `prepare character command` as part of extensible command producers and point/target movement policies for shared character motors.Function templatesha256_rotrPerforms `sha256 rotr` as part of the object model module.Functionsine_quarter_2dsin of an angle inside the first quadrant, expressed in raw Q12 degrees [0, 90*4096].Functionsine_series_2dPerforms `sine series 2d` as part of the world2d module.Functionvalid_character_commandPerforms `valid character command` as part of extensible command producers and point/target movement policies for shared character motors.FunctionVariables and constants
degrees_per_quarter_rawExposes `degrees_per_quarter_raw` on the `epok::detail` namespace for the world2d module.Variabledegrees_per_turn_rawExposes `degrees_per_turn_raw` on the `epok::detail` namespace for the world2d module.Variablesha256_kExposes `sha256_k` on the `epok::detail` namespace for the object model module.Variablesine_step_raw1440, exactVariablesine_table_2dExposes `sine_table_2d` on the `epok::detail` namespace for the world2d module.Variable