![]() |
|
|
|
|
1
11th August 17:04
External User
Posts: 1
|
Hi !
I got problems to detect, if cortona on macosx is used. Do browser.getName() work under MacOSX ? I need to differ between cortona and other browsers, cause the following seam not to work with cortona: Script { .... eventOut MFVec3f vertices_out .... coordindex_out=new MFInt32(); vertices_out[0].x = something; vertices_out[0].y = something; vertices_out[0].z = something; vertices_out[1].x = something; vertices_out[1].y = something; vertices_out[1].z = something; It looks like cortona needs a additional vertices_out=new MFVec3f(vertices_out); at the end of the script, otherwise there would be no resulting event. Unfortunatly, the line vertices_out=new MFVec3f(vertices_out); is illegal in the view of ISO 14772, cause the only Instance creation function may not have a MFVec3f type as argument: http://www.web3d.org/x3d/specificati...t.html#MFVec3f | C.6.18.2 Instance creation function | | mfVec3fObjectName = new MFVec3f(SFVec3f v1, SFVec3f v2,...) | | where | The creation function shall initialize the array using 0 or more | SFVec3f-valued expressions passed as parameters. so long MUFTI -- 6 von 5 Datei(en) erfolgreich empfangen. Statusmeldung von Leonardo |
|
|
|
|
|