Aggiunte texture pavimento
This commit is contained in:
@@ -5,6 +5,7 @@ Size=400,400
|
|||||||
[Window][Dear ImGui Demo]
|
[Window][Dear ImGui Demo]
|
||||||
Pos=487,44
|
Pos=487,44
|
||||||
Size=455,873
|
Size=455,873
|
||||||
|
Collapsed=1
|
||||||
|
|
||||||
[Window][Hello, world!]
|
[Window][Hello, world!]
|
||||||
Pos=11,12
|
Pos=11,12
|
||||||
|
|||||||
Binary file not shown.
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
class Pavimento : public PieceInterface{
|
class Pavimento : public PieceInterface{
|
||||||
private:
|
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 sf::Color pavimento_Col = sf::Color(255,255,255,255);
|
||||||
|
|
||||||
const std::string TEXTURE_F = std::string("pavimentoF.png");
|
const std::string TEXTURE_F = std::string("pavimentoF.png");
|
||||||
|
|||||||
+2
-1
@@ -95,7 +95,8 @@ int main() {
|
|||||||
|
|
||||||
|
|
||||||
//aggiungo il pavimento
|
//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");
|
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 |
Reference in New Issue
Block a user