From bdbe03116881122c6c551e0df825ba073b9f6ebb Mon Sep 17 00:00:00 2001 From: Shehzan Mohammed Date: Thu, 12 Jan 2017 16:08:43 -0500 Subject: [PATCH] Fix the ellipsoid primitive spec for Matrix 4 fromScale -> fromUniformScale --- Specs/Scene/EllipsoidPrimitiveSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Specs/Scene/EllipsoidPrimitiveSpec.js b/Specs/Scene/EllipsoidPrimitiveSpec.js index 764ea7575424..f0927d332a54 100644 --- a/Specs/Scene/EllipsoidPrimitiveSpec.js +++ b/Specs/Scene/EllipsoidPrimitiveSpec.js @@ -55,7 +55,7 @@ defineSuite([ var e = new EllipsoidPrimitive({ center : new Cartesian3(1.0, 2.0, 3.0), radii : new Cartesian3(4.0, 5.0, 6.0), - modelMatrix : Matrix4.fromScale(2.0), + modelMatrix : Matrix4.fromUniformScale(2.0), show : false, material : material, id : 'id', @@ -64,7 +64,7 @@ defineSuite([ expect(e.center).toEqual(new Cartesian3(1.0, 2.0, 3.0)); expect(e.radii).toEqual(new Cartesian3(4.0, 5.0, 6.0)); - expect(e.modelMatrix).toEqual(Matrix4.fromScale(2.0)); + expect(e.modelMatrix).toEqual(Matrix4.fromUniformScale(2.0)); expect(e.show).toEqual(false); expect(e.material).toBe(material); expect(e.id).toEqual('id');