Trying to add fluid simulation

This commit is contained in:
Dynamitos committed 2026-04-12 20:49:02 +02:00
1 parent 056589a6f9
commit ac317a3829
65 files changed
+2708 -371

No files matched your search

+2 -1
View File
@@ -2,6 +2,7 @@
#include "Graphics/Enums.h"
#include "MinimalEngine.h"
#include "Window/Window.h"
#include <iostream>
using namespace Seele;
using namespace Seele::Editor;
@@ -21,7 +22,7 @@ void PlayView::prepareRender() { GameView::prepareRender(); }
void PlayView::render() { GameView::render(); }
void PlayView::keyCallback(KeyCode code, InputAction action, KeyModifier modifier) {
void PlayView::keyCallback(KeyCode code, InputAction action, KeyModifierFlags modifier) {
GameView::keyCallback(code, action, modifier);
if (code == KeyCode::KEY_P && action == InputAction::RELEASE) {
getGlobals().usePositionOnly = !getGlobals().usePositionOnly;