Cleanup.
This commit is contained in:
parent
cb926d3f1f
commit
e0d0af370d
@ -698,14 +698,18 @@ public:
|
||||
dde.pop();
|
||||
|
||||
{
|
||||
Plane plane { { 0.0f, 1.0f, 0.0f }, 2.0f };
|
||||
const float normal[] = { 0.0f, 1.0f, 0.0f };
|
||||
const float pos[] = { 0.0f, -2.0f, 0.0f };
|
||||
|
||||
Plane plane;
|
||||
bx::calcPlane(plane.m_normal, normal, pos);
|
||||
|
||||
dde.setColor(false
|
||||
|| intersect(&dde, ray, plane)
|
||||
? selected
|
||||
: 0xffffffff
|
||||
);
|
||||
|
||||
const float pos[] = { 0.0f, -2.0f, 0.0f };
|
||||
dde.drawGrid(Axis::Y, pos, 20, 1.0f);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user