MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / TiltComp_Init

Function TiltComp_Init

src/EntityComponents.c:116–119  ·  view source on GitHub ↗

#######################################################################################################################* *------------------------------------------------------TiltComponent------------------------------------------------------* *#########################################################################################################################*/

Source from the content-addressed store, hash-verified

114*------------------------------------------------------TiltComponent------------------------------------------------------*
115*#########################################################################################################################*/
116void TiltComp_Init(struct TiltComp* anim) {
117 anim->VelTiltStrengthO = 1.0f;
118 anim->VelTiltStrengthN = 1.0f;
119}
120
121void TiltComp_Update(struct LocalPlayer* p, struct TiltComp* anim, float delta) {
122 int i;

Callers 1

LocalPlayer_InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected