[x3d-public] X3dToJava.xslt. SFVec3dObject should not be constructed with float array (or should it?). double array might work. Attached.

John Carlson yottzumm at gmail.com
Sun Apr 22 21:47:15 PDT 2018


.\net\x3djsonld\data\geobubbles.java:84: error: no suitable constructor found for SFVec3dObject(float[])
    .addChild(new GeoViewpointObject("Tour").setDescription("Tour Views").setPosition(new SFVec3dObject(new float[] {0.0f,0.0f,4.0f})).setOrientation(new SFRotationObject(new float[] {1.0f,0.0f,0.0f,0.0f})))
                                                                                      ^
    constructor SFVec3dObject.SFVec3dObject(SFVec3dObject) is not applicable
      (argument mismatch; float[] cannot be converted to SFVec3dObject)
    constructor SFVec3dObject.SFVec3dObject(double[]) is not applicable
      (argument mismatch; float[] cannot be converted to double[])
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output

Sent from Mail for Windows 10

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180423/88406125/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geobubbles.java
Type: application/octet-stream
Size: 10839 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180423/88406125/attachment.obj>


More information about the x3d-public mailing list