[Pas2js] pas2js Webgl unit committed
Ryan Joseph
ryan at thealchemistguild.com
Thu May 10 14:08:52 CEST 2018
> On May 10, 2018, at 4:52 PM, Michael Van Canneyt <michael at freepascal.org> wrote:
>
> Update SVN. I added all the calls. So now you can do
>
> a : TJSFloat32Array;
>
> begin
> a:=TJSFloat32Array.New(3);
> end;
>
> With any of the documented constructors. The from/_of class functions also work.
Thanks, working now, that’s great.
This syntax is still not working though. What’s wrong?
type
TJSFloat32Point = class external name 'Float32Array' (TJSFloat32Array)
public
x: Float32; external name '[0]';
y: Float32; external name '[1]';
end;
Regards,
Ryan Joseph
More information about the Pas2js
mailing list