Giter Club home page Giter Club logo

Comments (8)

Raphfrk avatar Raphfrk commented on August 12, 2024

That would make it clearer. On the other hand they are supposed to be generic vectors.

from spongeapi.

Soren025 avatar Soren025 commented on August 12, 2024

Personally I would pick clarity.

from spongeapi.

DDoS avatar DDoS commented on August 12, 2024

I say math conventions are more important.

from spongeapi.

garbagemule avatar garbagemule commented on August 12, 2024

Vectors are a mathematical construct much more general than this single use case. The "most likely" (your words) is accurate and important - you don't know what the primary use case is (going to be), and one sample of use cases is hardly enough to constitute a rule.

The solution to the problem (if it is a problem) is to introduce a specialized vector, not to redefine the general construct.

from spongeapi.

 avatar commented on August 12, 2024

I also think we should met math conventions but maybe we can use a kind of vector handler so in general Sponge code the minecraft conventions are met. It is really hard to read.

from spongeapi.

phroa avatar phroa commented on August 12, 2024

A CoordinateVector class or something would make it easier to read, but I agree, X & Y is a bit better, if confusing for the average server owner.

from spongeapi.

nevercast avatar nevercast commented on August 12, 2024

Less of an issue if helper functions wrap the integers to provide directions, so plugin writers would use "3 blocks North" instead of working with the coords directly.

As for server owners, I can't think of a case where an administrator would need to deal with the coordinate system outside of 3D space. (They wouldn't need to use Vector2, so why break convention)

from spongeapi.

Zidane avatar Zidane commented on August 12, 2024

We will stick with math conventions

from spongeapi.

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.