New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New operators for sf::Time #429

Closed
Foaly opened this Issue Jul 17, 2013 · 2 comments

Comments

Projects
None yet
3 participants
@Foaly
Contributor

Foaly commented Jul 17, 2013

Add the % and %= operator to sf::Time. For use cases see this forum thread: http://en.sfml-dev.org/forums/index.php?topic=12261

There is also a discussion about adding the / operator. For more information see the thread mentioned above and this thread: http://en.sfml-dev.org/forums/index.php?topic=6755.msg45015#msg45015

@MarioLiebisch

This comment has been minimized.

Show comment
Hide comment
@MarioLiebisch

MarioLiebisch Jul 17, 2013

Member

Yep, wanted something like that as well. Guess I'll just go forth and implement it later today for a quick patch. Shouldn't take that long.

Member

MarioLiebisch commented Jul 17, 2013

Yep, wanted something like that as well. Guess I'll just go forth and implement it later today for a quick patch. Shouldn't take that long.

@Foaly

This comment has been minimized.

Show comment
Hide comment
@Foaly

Foaly Jul 17, 2013

Contributor

Don't worry about it I already have it implemented in my SFML version. I'll make a clean branch and send a pull request. But don't expect it to be merged in SFML 2.1 because it is a new feature

Contributor

Foaly commented Jul 17, 2013

Don't worry about it I already have it implemented in my SFML version. I'll make a clean branch and send a pull request. But don't expect it to be merged in SFML 2.1 because it is a new feature

@ghost ghost assigned LaurentGomila Jul 17, 2013

LaurentGomila added a commit that referenced this issue Aug 12, 2013

Merge pull request #430 from Foaly/timeOperators
Added modulo operators for sf::Time (#429)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment