replace context offset with Camera2D
This commit is contained in:
parent
2026f8ac8d
commit
af7d6dee00
11 changed files with 132 additions and 70 deletions
11
kubo_input.h
11
kubo_input.h
|
|
@ -19,9 +19,14 @@
|
|||
#ifndef KUBO_INPUT_H
|
||||
#define KUBO_INPUT_H
|
||||
|
||||
#include "kubo_context.h"
|
||||
#include "kubo_command.h"
|
||||
#include <raylib.h>
|
||||
|
||||
void kubo_input_handle(struct kubo_context *context);
|
||||
#include "kubo_camera.h"
|
||||
#include "kubo_command.h"
|
||||
#include "kubo_context.h"
|
||||
|
||||
#define KUBO_INPUT_CAMERA_SHIFT 50
|
||||
|
||||
void kubo_input_handle(struct kubo_context *context, Camera2D *camera);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue