forked from Dynamitos/Seele
Trying to add fluid simulation
This commit is contained in:
1 parent
056589a6f9
commit
ac317a3829
65 files changed
+2708
-371
No files matched your search
@@ -6,6 +6,7 @@ target_sources(Engine
|
||||
Collider.cpp
|
||||
Component.h
|
||||
DirectionalLight.h
|
||||
FluidGrid.h
|
||||
KeyboardInput.h
|
||||
Mesh.h
|
||||
MeshCollider.h
|
||||
@@ -29,6 +30,7 @@ target_sources(Engine
|
||||
Collider.h
|
||||
Component.h
|
||||
DirectionalLight.h
|
||||
FluidGrid.h
|
||||
KeyboardInput.h
|
||||
MeshCollider.h
|
||||
Mesh.h
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include "Math/Vector.h"
|
||||
|
||||
namespace Seele {
|
||||
namespace Component {
|
||||
struct FluidGrid {
|
||||
float cellSize = 1.0f;
|
||||
float viscosity = 0.1f;
|
||||
float diffusion = 0.01f;
|
||||
UVector gridSize = {128, 128, 128};
|
||||
};
|
||||
} // namespace Component
|
||||
} // namespace Seele
|
||||
Reference in new issue
Block a user