| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- function BezierPoint() {
- Object.defineProperties(this, {
- 'p1': { enumerable: true, configurable: true, get: BezierPoint.prototype.__get_p1, set: BezierPoint.prototype.__set_p1},
- 'p2': { enumerable: true, configurable: true, get: BezierPoint.prototype.__get_p2, set: BezierPoint.prototype.__set_p2},
- 'p3': { enumerable: true, configurable: true, get: BezierPoint.prototype.__get_p3, set: BezierPoint.prototype.__set_p3}
- })
- }
- BezierPoint.prototype.__get_p1 = function() {
- var retVal = new Vector3()
- retVal.__ptr = Polycode.BezierPoint__get_p1(this.__ptr)
- return retVal
- }
- BezierPoint.prototype.__set_p1 = function(val) {
- Polycode.BezierPoint__set_p1(this.__ptr, val.__ptr)
- }
- BezierPoint.prototype.__get_p2 = function() {
- var retVal = new Vector3()
- retVal.__ptr = Polycode.BezierPoint__get_p2(this.__ptr)
- return retVal
- }
- BezierPoint.prototype.__set_p2 = function(val) {
- Polycode.BezierPoint__set_p2(this.__ptr, val.__ptr)
- }
- BezierPoint.prototype.__get_p3 = function() {
- var retVal = new Vector3()
- retVal.__ptr = Polycode.BezierPoint__get_p3(this.__ptr)
- return retVal
- }
- BezierPoint.prototype.__set_p3 = function(val) {
- Polycode.BezierPoint__set_p3(this.__ptr, val.__ptr)
- }
- Duktape.fin(BezierPoint.prototype, function (x) {
- if (x === BezierPoint.prototype) {
- return;
- }
- Polycode.BezierPoint__delete(x.__ptr)
- })
|