maeda6uiui / Mechtatel

Yet unfinished Vulkan-based game engine composed in Java
MIT License
0 stars 0 forks source link

Improve loading of files (use Path, move standard assets) #7

Closed maeda6uiui closed 3 months ago

maeda6uiui commented 3 months ago

Overview

Following changes have been made:

Methods to create a component that previously took a URL object now takes a Path object instead.

defaultScreen.createModel(Paths.get("./Mechtatel/Standard/Model/Cube/cube.obj"));

For the sake of this change, standard assets other than shaders have been moved to Mechtatel directory, and they are not going to be packaged in the JAR in future releases.