GithubHelp home page GithubHelp logo

Vector conversion about sfml.net HOT 4 CLOSED

sfml avatar sfml commented on August 25, 2024
Vector conversion

from sfml.net.

Comments (4)

zsbzsb avatar zsbzsb commented on August 25, 2024

Currently the constructors used to convert between the various SFML.Window.Vector types are not present in the API.

Really?
https://github.com/LaurentGomila/SFML.Net/blob/master/src/System/Vector2.cs#L190

Adding conversions to the System.Drawing.Size structs should be considered as well

It could be considered.

from sfml.net.

vj-codec avatar vj-codec commented on August 25, 2024

If you guys are interested in conversion between the Vector structs and the built-in equivalents (Point, Size, etc.), let me know - I'd be happy to put a little work in.

As for the casts between the Vector structs, I apparently had an old version from the main site. Everything works as expected after using libraries compiled from the source here.

[Never mind the following, just saw issue 91]
Will I need to update the csfml libraries to avoid causing trouble?

from sfml.net.

zsbzsb avatar zsbzsb commented on August 25, 2024

If you guys are interested in conversion between the Vector structs and the built-in equivalents (Point, Size, etc.)

Well first we need to decide if we want it and those type of discussions should happen on the forum (in the SFML.NET subforum). After all, implementation of something trivial like this doesn't require much work.

As for the other mentioned things... I already answered you on the forums, so no need to repeat myself.

from sfml.net.

vj-codec avatar vj-codec commented on August 25, 2024

Understood, and thanks for the help! I'll close this issue and start a post on the subforum.

from sfml.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.