martin at cheetah3d.de
Wed Jan 7 11:50:17 PST 2009
some problems. So far I only found the JSPong example for embedding
which didn't answer my question.
I want to create a simple Vector3f class which can be used in scripts
like the String or Array types. But I couldn't figure out how to set
it up so that I can create objects with "new". I want the class to
work like this example.
var a = new Vector3f(0,1,0);
var b = new Vector3f(1,1,1);
var c = a.add(b);
More information about the webkit-dev