-
Notifications
You must be signed in to change notification settings - Fork 2
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
Concept for symbol names #65
Comments
We have TileCoord and TileIndex for this. They have methods for converting to and from Cartesian coordinates |
I can create a helper like |
Your comments are good for #51 and "Player" may also be a good idea. I will write for details there. |
We may define a concept for the names, we use for symbols.
So we may use symbols naming the purpose, not the type. Well. Sometimes it’s the same anyway.
A challenge for this concept is the Bevy Resource Transform. Let’s ignore the big-space for a start. So Transform can be splittet in Translation and Rotation. But Bevy-ECS does not have extra types for them but uses Vec3.
A) Both may have world- or relative/delta/diff-meaning.
B) Because we use the Earth in its real size and sphericity, the “flat” surface, the OSM-Tiles are orientated to, is gone! But we should provide functions to calculate between word- and surface-values. So shall we use “type” or in the naming style?
C) And now consider big-space. The Translation may be local inside a grid as Vec3
or big-space (grid,local). Again wie could invent types or clarify it by the symbol name. Even write an issue to big-space to get extra names.
We could start with a wiki page and invent "roles" and examples.
The text was updated successfully, but these errors were encountered: