コード例 #1
0
    private void Update()
    {
        float4   pl           = MathLib.GetPlane(plane.up, plane.position);
        float4x4 localToWorld = transform.localToWorldMatrix;

        txt.text = MathLib.BoxIntersect(ref localToWorld, 0, 0.5f, pl.Ptr(), 1).ToString();
    }