Skip to content

Commit

Permalink
chore(*): reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed Dec 6, 2023
1 parent 706126c commit 3e1cbb5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
14 changes: 7 additions & 7 deletions include/zenkit-capi/Matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ typedef struct ZkInternal_Mat4x4 {

operator glm::mat4() const {
return glm::mat4 {
columns[0],
columns[1],
columns[2],
columns[3],
columns[0],
columns[1],
columns[2],
columns[3],
};
}
#endif
Expand All @@ -45,9 +45,9 @@ typedef struct ZkInternal_Mat3x3 {

operator glm::mat3() const {
return glm::mat3 {
columns[0],
columns[1],
columns[2],
columns[0],
columns[1],
columns[2],
};
}
#endif
Expand Down
3 changes: 2 additions & 1 deletion include/zenkit-capi/daedalus/GuildValuesInstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ ZKC_API void ZkGuildValuesInstance_setDisableAutoRoll(ZkGuildValuesInstance* slf
ZKC_API int32_t ZkGuildValuesInstance_getSurfaceAlign(ZkGuildValuesInstance const* slf, ZkSize i);
ZKC_API void ZkGuildValuesInstance_setSurfaceAlign(ZkGuildValuesInstance* slf, ZkSize i, int32_t surfaceAlign);
ZKC_API int32_t ZkGuildValuesInstance_getClimbHeadingAngle(ZkGuildValuesInstance const* slf, ZkSize i);
ZKC_API void ZkGuildValuesInstance_setClimbHeadingAngle(ZkGuildValuesInstance* slf, ZkSize i, int32_t climbHeadingAngle);
ZKC_API void
ZkGuildValuesInstance_setClimbHeadingAngle(ZkGuildValuesInstance* slf, ZkSize i, int32_t climbHeadingAngle);
ZKC_API int32_t ZkGuildValuesInstance_getClimbHorizAngle(ZkGuildValuesInstance const* slf, ZkSize i);
ZKC_API void ZkGuildValuesInstance_setClimbHorizAngle(ZkGuildValuesInstance* slf, ZkSize i, int32_t climbHorizAngle);
ZKC_API int32_t ZkGuildValuesInstance_getClimbGroundAngle(ZkGuildValuesInstance const* slf, ZkSize i);
Expand Down
3 changes: 2 additions & 1 deletion include/zenkit-capi/daedalus/NpcInstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ ZKC_API void ZkNpcInstance_setExpNext(ZkNpcInstance* slf, int32_t expNext);
ZKC_API int32_t ZkNpcInstance_getLp(ZkNpcInstance const* slf);
ZKC_API void ZkNpcInstance_setLp(ZkNpcInstance* slf, int32_t lp);
ZKC_API int32_t ZkNpcInstance_getBodyStateInterruptableOverride(ZkNpcInstance const* slf);
ZKC_API void ZkNpcInstance_setBodyStateInterruptableOverride(ZkNpcInstance* slf, int32_t bodyStateInterruptableOverride);
ZKC_API void ZkNpcInstance_setBodyStateInterruptableOverride(ZkNpcInstance* slf,
int32_t bodyStateInterruptableOverride);
ZKC_API int32_t ZkNpcInstance_getNoFocus(ZkNpcInstance const* slf);
ZKC_API void ZkNpcInstance_setNoFocus(ZkNpcInstance* slf, int32_t noFocus);
ZKC_API ZkString ZkNpcInstance_getName(ZkNpcInstance const* slf, ZkNpcInstanceNameSlot slot);
Expand Down
3 changes: 2 additions & 1 deletion include/zenkit-capi/vobs/Camera.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ ZKC_API void ZkCameraTrajectoryFrame_setMotionTypeFov(ZkCameraTrajectoryFrame* s
ZKC_API ZkCameraMotion ZkCameraTrajectoryFrame_getMotionTypeRoll(ZkCameraTrajectoryFrame const* slf);
ZKC_API void ZkCameraTrajectoryFrame_setMotionTypeRoll(ZkCameraTrajectoryFrame* slf, ZkCameraMotion motionTypeRoll);
ZKC_API ZkCameraMotion ZkCameraTrajectoryFrame_getMotionTypeTimeScale(ZkCameraTrajectoryFrame const* slf);
ZKC_API void ZkCameraTrajectoryFrame_setMotionTypeTimeScale(ZkCameraTrajectoryFrame* slf, ZkCameraMotion motionTypeTimeScale);
ZKC_API void ZkCameraTrajectoryFrame_setMotionTypeTimeScale(ZkCameraTrajectoryFrame* slf,
ZkCameraMotion motionTypeTimeScale);
ZKC_API float ZkCameraTrajectoryFrame_getTension(ZkCameraTrajectoryFrame const* slf);
ZKC_API void ZkCameraTrajectoryFrame_setTension(ZkCameraTrajectoryFrame* slf, float tension);
ZKC_API float ZkCameraTrajectoryFrame_getCamBias(ZkCameraTrajectoryFrame const* slf);
Expand Down

0 comments on commit 3e1cbb5

Please sign in to comment.