! Same as cameraCoordinatesOf(), but with \c qreal[3] parameters (\p src and \p res may be identical pointers). */
| 1480 | |
| 1481 | /*! Same as cameraCoordinatesOf(), but with \c qreal[3] parameters (\p src and \p res may be identical pointers). */ |
| 1482 | void Camera::getCameraCoordinatesOf(const qreal src[3], qreal res[3]) const |
| 1483 | { |
| 1484 | Vec r = cameraCoordinatesOf(Vec(src)); |
| 1485 | for (int i=0; i<3; ++i) |
| 1486 | res[i] = r[i]; |
| 1487 | } |
| 1488 | |
| 1489 | /*! Same as worldCoordinatesOf(), but with \c qreal[3] parameters (\p src and \p res may be identical pointers). */ |
| 1490 | void Camera::getWorldCoordinatesOf(const qreal src[3], qreal res[3]) const |