[x3d-public] Error in X3D Java SAI. Uses index 4 when it should be 3.

yottzumm at gmail.com yottzumm at gmail.com
Wed Jan 18 01:12:27 PST 2017


   www_web3d_org/x3d/content/examples/Basic/CAD/ClipPlaneExample
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 4
        at org.web3d.x3d.java.Rendering.ClipPlaneObject.setPlane(ClipPlaneObject.java:365)
        at www_web3d_org.x3d.content.examples.Basic.CAD.ClipPlaneExample.main(ClipPlaneExample.java:175)


 if ((newValue[0] > 1) || (newValue[1] > 1) || (newValue[2] > 1) || (newValue  [4] > 1)) {
    throw new org.web3d.x3d.sai.InvalidFieldValueException("ClipPlane plane ne wValue=" + SFVec4fObject.toString(newValue) + " is greater than (or equal to)   restriction maxInclusive1");
    }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170118/5ccad120/attachment.html>


More information about the x3d-public mailing list