/* Web64 SDK header printout: web64/game-compose.h * Generated by scripts/copy-web64-ide-source.mjs. * The IDE resolves this header as a read-only virtual SDK document. */ #ifndef WEB64_GAME_COMPOSE_H #define WEB64_GAME_COMPOSE_H #include #define web64_compose_motion_axis_integrate(position, velocity, intent, accel, brake, max_speed) velocity = web64_motion_axis(velocity, intent, accel, brake, max_speed); web64_motion_integrate(&(position), velocity) #define web64_compose_actor_motion_step(x, y, vx, vy) web64_motion_integrate(&(x), vx); web64_motion_integrate(&(y), vy) #define web64_actor_motion_step(x, y, vx, vy) (web64_motion_integrate(&(x), (vx)), web64_motion_integrate(&(y), (vy))) #endif