回覆列表
  • 1 # daazhu2

    最近在看原始碼的時候,看到這樣的幾個進行座標系轉換的函式。convertToNodeSpace、convertToWorldSpace、convertToNodeSpaceAR、convertToWorldSpaceAR,在他們的下一層看到下面的註釋:

    /**

    * Converts a Point to node (local) space coordinates. The result is in Points.

    */

    Point convertToNodeSpace(const Point& worldPoint) const;

    /**

    * Converts a Point to world space coordinates. The result is in Points.

    */

    Point convertToWorldSpace(const Point& nodePoint) const;

    /**

    * Converts a Point to node (local) space coordinates. The result is in Points.

    * treating the returned/received node point as anchor relative.

    */

    Point convertToNodeSpaceAR(const Point& worldPoint) const;

    /**

  • 中秋節和大豐收的關聯?
  • 試管嬰兒一定要養囊胚嗎?為什麼?