@Override
    public boolean mouseDragged(Point p, int glfwMouseButton, long timeHeld, boolean consumed) {
        Vector3 worldPos = mouseToWorld(p);
        Vector3 delta = worldPos.copy().subtract(mouseToWorld(lastMousePos));

        eventReceiver.mouseButtonDragged(this, worldPos, delta, glfwMouseButton);

        lastMousePos = p;
        return true;
    }
Apply a camera delta based on NDC delta
@param delta Amount to pan camera in frame NDC units
fabrication/src/main/java/mrtjp/projectred/fabrication/gui/ICRenderNode.java