arhivirani link za 2d kameru
This commit is contained in:
@@ -89,7 +89,7 @@ int main(int argc, char *argv[]) {
|
|||||||
camera.zoom = newZoom;
|
camera.zoom = newZoom;
|
||||||
// Kod za 2D kameru od:
|
// Kod za 2D kameru od:
|
||||||
//https://gist.github.com/JeffM2501/3c7da5c2b7e078e254d673f91489c78f
|
//https://gist.github.com/JeffM2501/3c7da5c2b7e078e254d673f91489c78f
|
||||||
// arhivirano:
|
// arhivirano: https://archive.is/dZCVe
|
||||||
Vector2 thisPos = GetMousePosition();
|
Vector2 thisPos = GetMousePosition();
|
||||||
|
|
||||||
Vector2 delta = Vector2Subtract(prevMousePos, thisPos);
|
Vector2 delta = Vector2Subtract(prevMousePos, thisPos);
|
||||||
|
|||||||
Reference in New Issue
Block a user