0_0_39375122_15407.cpp:1:35: error: 'vector3d' was not declared in this scope
1 | static bool getRaySphereIntersect(vector3d rayOrigin, vector3d rayDir,
| ^~~~~~~~
0_0_39375122_15407.cpp:1:55: error: 'vector3d' was not declared in this scope
1 | static bool getRaySphereIntersect(vector3d rayOrigin, vector3d rayDir,
| ^~~~~~~~
0_0_39375122_15407.cpp:2:60: error: 'vector3d' was not declared in this scope
2 | vector3d sphereCenter, float sphereRadius,
| ^~~~~~~~
0_0_39375122_15407.cpp:2:83: error: expected primary-expression before 'float'
2 | vector3d sphereCenter, float sphereRadius,
| ^~~~~
0_0_39375122_15407.cpp:3:65: error: 'vector' is not a member of 'std'
3 | std::vector<vector3d> &intersectPoint);
| ^~~~~~
0_0_39375122_15407.cpp:1:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
+++ |+#include <vector>
1 | static bool getRaySphereIntersect(vector3d rayOrigin, vector3d rayDir,
0_0_39375122_15407.cpp:3:72: error: 'vector3d' was not declared in this scope
3 | std::vector<vector3d> &intersectPoint);
| ^~~~~~~~
0_0_39375122_15407.cpp:3:83: error: 'intersectPoint' was not declared in this scope
3 | std::vector<vector3d> &intersectPoint);
| ^~~~~~~~~~~~~~
0_0_39375122_15407.cpp:3:97: error: expression list treated as compound expression in initializer [-fpermissive]
3 | std::vector<vector3d> &intersectPoint);
| ^
0_0_39375122_15407.cpp:4:9: error: expected unqualified-id before '{' token
4 | {
| ^
|