refactor(shapes): reorganitzar data/shapes en subcarpetes per categoria (enemy/bullet/ship/effect)
This commit is contained in:
1 parent
164f58c883
commit
61a4886e62
30 files changed
+51
-53
No files matched your search
@@ -114,8 +114,8 @@ namespace Title {
|
||||
}
|
||||
|
||||
void ShipAnimator::init() {
|
||||
auto shape_p1 = Graphics::ShapeLoader::load("ship.shp");
|
||||
auto shape_p2 = Graphics::ShapeLoader::load("ship2.shp");
|
||||
auto shape_p1 = Graphics::ShapeLoader::load("ship/arrow.shp");
|
||||
auto shape_p2 = Graphics::ShapeLoader::load("ship/wedge.shp");
|
||||
|
||||
ships_[0].player_id = 1;
|
||||
if (shape_p1 && shape_p1->isValid()) {
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
//
|
||||
// Manté la mateixa màquina d'estats
|
||||
// (ENTERING → FLOATING → EXITING) però treballa amb posicions Vec3 i emet
|
||||
// wireframes a través d'una `Camera3D`. La geometria s'extrau de `ship.shp`
|
||||
// (P1) i `ship2.shp` (P2) per extrusió en Z.
|
||||
// wireframes a través d'una `Camera3D`. La geometria s'extrau de
|
||||
// `ship/arrow.shp` (P1) i `ship/wedge.shp` (P2) per extrusió en Z.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
Reference in new issue
Block a user