Aggiunte texture pavimento

This commit is contained in:
2026-06-22 19:20:31 +02:00
parent 276e00aee1
commit 1dd7ce812a
7 changed files with 4 additions and 2 deletions
+1
View File
@@ -5,6 +5,7 @@ Size=400,400
[Window][Dear ImGui Demo]
Pos=487,44
Size=455,873
Collapsed=1
[Window][Hello, world!]
Pos=11,12
Binary file not shown.
+1 -1
View File
@@ -6,7 +6,7 @@
class Pavimento : public PieceInterface{
private:
const sf::Vector3f pavimento_Dim = {600, 20, 600};
const sf::Vector3f pavimento_Dim = {600, 40, 600};
const sf::Color pavimento_Col = sf::Color(255,255,255,255);
const std::string TEXTURE_F = std::string("pavimentoF.png");
+2 -1
View File
@@ -95,7 +95,8 @@ int main() {
//aggiungo il pavimento
gs.pieces.push_back(new Pavimento({200,200,550},0.2));
gs.pieces.push_back(new Pavimento({200,200,550},_Float16(0.2) ));
gs.pieces[0]->body.setRot({0,-0.03,0});
printf("Ho costruito tutto!\n");
}
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB