mirror of https://github.com/CesiumGS/cesium.git
removed duplicate method definition
This commit is contained in:
parent
1d005a67f8
commit
a3b426d8d9
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue