Added basic player movement.

This commit is contained in:
2021-04-23 08:17:42 +10:00
parent ea3e502524
commit 77b5cc131b
23 changed files with 428 additions and 14 deletions

View File

@ -94,7 +94,7 @@ inputval_t inputGetAxis(inputbind_t binding) {
float inputGetFullAxis(inputbind_t positive,
inputbind_t negative
) {
return INPUT_STATE.current[negative] + INPUT_STATE.current[positive];
return -INPUT_STATE.current[negative] + INPUT_STATE.current[positive];
}
float inputGetAccuated(inputbind_t binding) {