gulp-structify
Version:
Generates WebGL-compatible Structs and StructBuffers from a template file.
53 lines • 1.96 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var Template = (function () {
function Template() {
}
/**
* Sets each component of this struct to that of the other struct.
*/
Template.prototype.set = function (other) { };
/**
* Sets each component of this struct to the specified scalar.
*/
Template.prototype.setScalar = function (k) { };
/**
* Adds the other struct to this struct componentwise.
*/
Template.prototype.add = function (other) { };
/**
* Subtracts the other struct from this struct componentwise.
*/
Template.prototype.subtract = function (other) { };
/**
* Multiplies each component of this struct by the specified scalar.
*/
Template.prototype.mulScalar = function (k) { };
/**
* Divides each component of this struct by the specified scalar.
*/
Template.prototype.divScalar = function (k) { };
/**
* Checks if each component of this struct is equal to that of the other struct.
*/
Template.prototype.equals = function (other) { return false; };
/**
* Checks if each component of this struct is equal to the specified scalar.
*/
Template.prototype.equalsScalar = function (k) { return false; };
/**
* Checks if each component of this struct is approximately equal to that of the other struct.
*/
Template.prototype.epsilonEquals = function (other, e) { return false; };
/**
* Checks if each component of this struct is approximately equal to the specified scalar.
*/
Template.prototype.epsilonEqualsScalar = function (k, e) { return false; };
/**
* Returns a string representation of this struct.
*/
Template.prototype.toString = function () { return null; };
return Template;
}());
exports.Template = Template;
//# sourceMappingURL=template.js.map