removed duplicate method definition

This commit is contained in:
Daniel Leone 2022-04-29 16:31:23 +08:00
parent 1d005a67f8
commit a3b426d8d9
1 changed files with 0 additions and 15 deletions

View File

@ -1268,21 +1268,6 @@ Matrix3.multiplyByUniformScale = function (matrix, scale, result) {
return result;
};
const uniformScaleScratch = new Cartesian3();
Matrix3.multiplyByUniformScale = function (matrix, scale, result) {
//>>includeStart('debug', pragmas.debug);
Check.typeOf.object("matrix", matrix);
Check.typeOf.number("scale", scale);
Check.typeOf.object("result", result);
//>>includeEnd('debug');
uniformScaleScratch.x = scale;
uniformScaleScratch.y = scale;
uniformScaleScratch.z = scale;
return Matrix3.multiplyByScale(matrix, uniformScaleScratch, result);
};
/**
* Creates a negated copy of the provided matrix.
*