mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user