Translation-only orthographic XY projection. Rotation and Z are intentionally dropped to keep SceneEntities usable as lightweight pixel-space overlays.
| 20 | // Translation-only orthographic XY projection. Rotation and Z are intentionally |
| 21 | // dropped to keep SceneEntities usable as lightweight pixel-space overlays. |
| 22 | [[nodiscard]] Point2 project(const sdk::Point3& point, const sdk::Pose& pose) noexcept { |
| 23 | return Point2{pose.position.x + point.x, pose.position.y + point.y}; |
| 24 | } |
| 25 | |
| 26 | [[nodiscard]] Point2 projectPosition(const sdk::Pose& pose) noexcept { |
| 27 | return Point2{pose.position.x, pose.position.y}; |
no outgoing calls
no test coverage detected