Hello!
This question is about passing an array pointer as a parameter for Haxe webidl. What type of arguement should I pass in when my test function looks like so:
btSoftBody* btSoftBodyHelpers::CreateFromTriMesh(const btScalar* vertices)
{
...
...
}
and my idl definition looks like so:
btSoftBody CreateFromTriMesh(float[] vertices);
My Haxe code is like so:
//positions: Array<Float>
var body = helpers.CreateFromTriMesh(positions);
However, I get a compile error when compiling for hl target that says:
Array<Float> should be webidl.NativePtr<Single>
Any help with this would be great.
Edit: A similar issue is also posted here
Best Regards,
QC