Some changes

This commit is contained in:
MegaMech
2025-04-16 20:59:18 -06:00
parent 9cdd5902c5
commit ec8cc29e8d
16 changed files with 56 additions and 624 deletions
-6
View File
@@ -7,7 +7,6 @@
#include "Editor.h"
#include "Collision.h"
#include "Light.h"
#include "Water.h"
#include "port/Engine.h"
#include <controller/controldevice/controller/mapping/keyboard/KeyboardScancodes.h>
@@ -118,11 +117,6 @@ namespace Editor {
eGameObjects.push_back(new LightObject(name, pos, rot));
}
WaterVolumeObject* Editor::AddWaterVolume(const char* name, FVector* pos) {
eGameObjects.push_back(new WaterVolumeObject(name, pos));
return reinterpret_cast<WaterVolumeObject*>(&eGameObjects.back());
}
void Editor::ClearObjects() {
for (auto& obj : eGameObjects) {
delete obj;