~rabbits/moogle

a422d40b1d8290b9c312f10be6ba60d001cba0b2 — neauoire 11 months ago d97d2de + 71f6e57
Merge branch 'main' of git.sr.ht:~rabbits/moogle
1 files changed, 3 insertions(+), 3 deletions(-)

M src/moogle.c
M src/moogle.c => src/moogle.c +3 -3
@@ 536,7 536,7 @@ dokey(SDL_Event *event)
		if(shift)
			addpt3d(&cam.torigin, -2.5, 0, 0);
		else
			addpt3d(&cam.trotation, 0, 3.0, 0);
			addpt3d(&cam.trotation, 0, 5, 0);
		break;
	case SDLK_f:
		set3d(&cam.torigin, 0, 0, 0);


@@ 546,13 546,13 @@ dokey(SDL_Event *event)
		if(shift)
			addpt3d(&cam.torigin, 0, 0, 2.5);
		else
			modrange(3.0);
			addpt3d(&cam.trotation, 0, 0, 5);
		break;
	case SDLK_x:
		if(shift)
			addpt3d(&cam.torigin, 0, 0, -2.5);
		else
			modrange(-3.0);
			addpt3d(&cam.trotation, 0, 0, 5);
		break;
	}
	redraw(pixels);