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 - StephenLynx

Pages: [1]
1
Feature requests / Make sf::Transform.getMatrix not const.
« on: August 17, 2018, 03:39:06 pm »
This is the use case: when you want to set a translation from something else into a sfml drawable, it's more practical to handle the whole transform at once directly from the source instead of converting and setting every single detail.

For example, bullet3d exposes rigid bodies' transformation both for reading and writing using opengl matrices. So it's much more practical to use getOpenGLMatrix and use this matrix to draw something rather than picking each value, converting and then setting into the transform.

As it stands, one has to cast the const float* into a regular float*, making it for less readable code and maybe performance loss. I didn't check but I wouldn't be surprised, after all it's more stuff being done.

I have an example here:
https://pastebin.com/NxBJJtYr

2
SFML projects / TGUILua: Lua bindings for TGUI
« on: July 03, 2018, 04:59:33 pm »
TGUI is a GUI library based on SFML and I wrote bindings for it for lua.
It's MIT and can be found here:
https://gitgud.io/TGUILua/TGUILua

I am nearing a 1.0.0 release, so I thought it would be a good time to get feedback in general.

Pages: [1]