Comments (8)
That would make it clearer. On the other hand they are supposed to be generic vectors.
from spongeapi.
Personally I would pick clarity.
from spongeapi.
I say math conventions are more important.
from spongeapi.
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.
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.
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.
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.
We will stick with math conventions
from spongeapi.
Related Issues (20)
- RFC: World Transactional API
- Expose FastUtil in API HOT 2
- Can't get Biome Volume Factory with factory provider HOT 1
- Server-scoped PlayerChatRouter
- Ability to Hide Entities - "Sending Single Client Data" HOT 1
- Add method to retrieve level name from world properties
- Add Java Modules to Sponge API
- Amendments to API org.spongepowered.api.service.permission.SubjectData
- Enhanced Loot Table support HOT 1
- Typo
- automatic parameterized registration of plugin derived permission sets HOT 1
- Add a DataFormats.SNBT
- DataTranslator registry HOT 1
- Unregister an existing command registration
- Compile API 9 in Java 8 HOT 1
- Review content of util package HOT 1
- Make ServersideConnectionEvent.Handshake a Cancellable MessageEvent, like Auth
- Inventory from BlockSnapshot
- Return type of Container#type()
- Ability to get active bossbars on player
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spongeapi.