This commit is contained in:
Бранимир Караџић
2019-01-03 22:03:40 -08:00
parent e36890f6d8
commit d712453609
4 changed files with 60 additions and 71 deletions

View File

@@ -697,8 +697,8 @@ public:
const bx::Vec3 normal = { 0.0f, 1.0f, 0.0f };
const bx::Vec3 pos = { 0.0f, -2.0f, 0.0f };
Plane plane;
bx::calcPlane(&plane.m_normal.x, normal, pos);
bx::Plane plane;
bx::calcPlane(plane, normal, pos);
dde.setColor(false
|| intersect(&dde, ray, plane)