Vector2& point;
Vector3& vWorldPos;//三维坐标点
Vector3 hcsPosition = mCamera->getProjectionMatrix() * (mCamera->getViewMatrix() * vWorldPos);//视图矩阵、投影矩阵转换
point.x = hcsPosition.x/2.0f + 0.5;
point.y = 0.5f - hcsPosition.y/2.0f;//y值方向相反
Vector2& point;
Vector3& vWorldPos;//三维坐标点
Vector3 hcsPosition = mCamera->getProjectionMatrix() * (mCamera->getViewMatrix() * vWorldPos);//视图矩阵、投影矩阵转换
point.x = hcsPosition.x/2.0f + 0.5;
point.y = 0.5f - hcsPosition.y/2.0f;//y值方向相反