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.


Topics - Dolf

Pages: [1]
1
General discussions / .exe not working on Windows 7
« on: December 31, 2009, 07:17:46 pm »
Hi,

My release build executable isn't working on windows 7. I'm building on a windows XP using visual studio 2008 with the "Multi-threaded (/MT)" option and "SFML_DYNAMIC" as preprocessor command.
I put the sfml .dll's in the folder as well as the images I am using, and it works on this machine.

I am sure it should work on Windows 7, what should I try? Running in compatibility mode didn't work. Should I recompile SFML from source?

Happy newyear!

2
General discussions / The sf::Matrix3 class
« on: December 26, 2009, 01:08:32 pm »
Hello,

I'm having some issues with the sf::Matrix3 class. It might be that I am completely misunderstanding the class but I was just questioning some interface decisions here.

Why aren't there Get/Set functions for:
Scale()
Rotation()
Translation()

And why doesn't the header file say whether it's a row or column matrix? Or at least explain the lay-out so that I could create my own matrix class and create a conversion between mine and sf::Matrix3.

And even worse, why does it start counting from 1 instead of 0? If I create a matrix with an translation X and Y, this is how I managed to get those values back from the matrix:
float x = someMatrix( 3, 1 );
float y = someMatrix( 4, 1 ); // 4 should be outside the array in a 4x4 matrix ...  another point: why aren't there bounds checking asserts in the operator () ?

Thank you so much for reading my moaning about the Matrix3 class,

Dolf

Edit: And why is it in graphics instead of system?

Pages: [1]
anything