sf::RenderWindow window(sf::VideoMode(800, 600, 32), "Red Ball C++");
window.setFramerateLimit(60);
sf::Sprite sprite;
sf::Texture texture;
texture.loadFromFile("Assets/Textures/objects1.png");
sprite.setTexture(texture);
sprite.setTextureRect(sf::IntRect(81,0,61,61));
sprite.setScale(sf::Vector2f(1, 1));
b2BodyDef def;
def.position.Set(20, 1);
def.type = b2_dynamicBody;
b2PolygonShape shape;
shape.SetAsBox(30,10);
b2Body *body = world.CreateBody(&def);
body->CreateFixture(&shape, 1);