Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - marbelynrye

Pages: [1]
1
ah i forgot about the linker properties

2
having a hard time getting it compile, i'm probably an idiot but I don't think i'm doing anything wrong.
it's giving me linker errors
sw::ElasticSprite sprite(cattex);
sprite.setVertexOffset(2, { 150.f, -30.f });
 
1>main.obj : error LNK2019: unresolved external symbol "public: __cdecl selbaward::ElasticSprite::ElasticSprite(class sf::Texture const &)" (??0ElasticSprite@selbaward@@QEAA@AEBVTexture@sf@@@Z) referenced in function main
1>main.obj : error LNK2019: unresolved external symbol "public: void __cdecl selbaward::ElasticSprite::setVertexOffset(unsigned int,class sf::Vector2<float>)" (?setVertexOffset@ElasticSprite@selbaward@@QEAAXIV?$Vector2@M@sf@@@Z) referenced in function main
both .hpp files are present

3
oh this is exactly what i needed, thank you sir

4
No, just transforming a image/sprite  (or "distorting" it to look like that)

5
Given 4 points (or "Vector2"s) how do i transform a sprite to look like the images attached?

Pages: [1]
anything