-
Notifications
You must be signed in to change notification settings - Fork 6
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
Map component #110
base: development
Are you sure you want to change the base?
Map component #110
Conversation
7f05a2b
to
8a6bf1a
Compare
Signed-off-by: Piotr Jaroszek <[email protected]>
Signed-off-by: Piotr Jaroszek <[email protected]>
Signed-off-by: Piotr Jaroszek <[email protected]>
Signed-off-by: Piotr Jaroszek <[email protected]>
Signed-off-by: Piotr Jaroszek <[email protected]>
Signed-off-by: Piotr Jaroszek <[email protected]>
Signed-off-by: Piotr Jaroszek <[email protected]>
a55442d
to
86010bb
Compare
Signed-off-by: Piotr Jaroszek <[email protected]>
Fixes o3de/o3de-extras#157 |
//! Convert Transform from the map coordinate system. | ||
//! @param transform - Transform to be converted. | ||
//! @return Copy of a Transform in the world coordinate system. | ||
virtual AZ::Transform ConvertFromMapCoordinateSystem(AZ::Transform transform) = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here and above, if transforms will not be changed in the overriding functions it will be better to use const AZ::Transform &
as arguments
//! Updates the hook Transform | ||
void SetHook(); | ||
|
||
bool m_useMapHook = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think members of this class should be made private.
//! Configuration for handling geodetic map info. | ||
//! This configuration allows setting a geographic coordinate system hook to a simulation scene. | ||
//! System hook points to the real-world location in latitude, longitude, and altitude offsets. | ||
class GeodeticConfiguration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any constructor defined for this class. Is it omitted on purpose?
Map component: