cesium 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/Cesium.js +5 -2
- data/app/assets/javascripts/Core/Cartesian2.js +58 -0
- data/app/assets/javascripts/Core/Cartesian3.js +67 -7
- data/app/assets/javascripts/Core/Cartesian4.js +63 -0
- data/app/assets/javascripts/Core/CatmullRomSpline.js +183 -163
- data/app/assets/javascripts/Core/CorridorGeometry.js +2 -2
- data/app/assets/javascripts/Core/Ellipsoid.js +16 -0
- data/app/assets/javascripts/Core/ExtentGeometry.js +9 -2
- data/app/assets/javascripts/Core/ExtentOutlineGeometry.js +2 -2
- data/app/assets/javascripts/Core/GeometryPipeline.js +23 -23
- data/app/assets/javascripts/Core/HermiteSpline.js +260 -155
- data/app/assets/javascripts/Core/IndexDatatype.js +43 -34
- data/app/assets/javascripts/Core/LinearSpline.js +118 -0
- data/app/assets/javascripts/Core/Math.js +34 -3
- data/app/assets/javascripts/Core/Matrix2.js +26 -0
- data/app/assets/javascripts/Core/Matrix3.js +98 -0
- data/app/assets/javascripts/Core/Matrix4.js +42 -0
- data/app/assets/javascripts/Core/ObjectOrientedBoundingBox.js +396 -0
- data/app/assets/javascripts/Core/PolygonGeometry.js +87 -47
- data/app/assets/javascripts/Core/PolygonGeometryLibrary.js +20 -17
- data/app/assets/javascripts/Core/PolygonOutlineGeometry.js +68 -40
- data/app/assets/javascripts/Core/PolygonPipeline.js +19 -9
- data/app/assets/javascripts/Core/PrimitiveType.js +33 -36
- data/app/assets/javascripts/Core/Quaternion.js +147 -1
- data/app/assets/javascripts/Core/QuaternionSpline.js +160 -0
- data/app/assets/javascripts/Core/Spline.js +121 -0
- data/app/assets/javascripts/Core/Transforms.js +0 -2
- data/app/assets/javascripts/Core/loadArrayBuffer.js +5 -1
- data/app/assets/javascripts/Core/loadBlob.js +5 -1
- data/app/assets/javascripts/Core/loadText.js +4 -1
- data/app/assets/javascripts/Core/loadWithXhr.js +30 -14
- data/app/assets/javascripts/DynamicScene/PolylineOutlineMaterialProperty.js +2 -2
- data/app/assets/javascripts/Renderer/AutomaticUniforms.js +41 -41
- data/app/assets/javascripts/Renderer/Context.js +171 -201
- data/app/assets/javascripts/Renderer/CubeMapFace.js +2 -2
- data/app/assets/javascripts/Renderer/DrawCommand.js +2 -2
- data/app/assets/javascripts/Renderer/PixelFormat.js +22 -28
- data/app/assets/javascripts/Renderer/ShaderProgram.js +65 -46
- data/app/assets/javascripts/Renderer/Texture.js +1 -1
- data/app/assets/javascripts/Renderer/TextureMagnificationFilter.js +7 -9
- data/app/assets/javascripts/Renderer/TextureMinificationFilter.js +19 -25
- data/app/assets/javascripts/Renderer/TextureWrap.js +11 -13
- data/app/assets/javascripts/Renderer/UniformDatatype.js +29 -29
- data/app/assets/javascripts/Renderer/VertexArray.js +43 -35
- data/app/assets/javascripts/Scene/ArcGisMapServerImageryProvider.js +1 -2
- data/app/assets/javascripts/Scene/BillboardCollection.js +10 -1
- data/app/assets/javascripts/Scene/CameraFlightPath.js +58 -101
- data/app/assets/javascripts/Scene/CentralBody.js +1 -4
- data/app/assets/javascripts/Scene/CentralBodySurface.js +1 -2
- data/app/assets/javascripts/Scene/CesiumTerrainProvider.js +1 -2
- data/app/assets/javascripts/Scene/CustomSensorVolume.js +17 -3
- data/app/assets/javascripts/Scene/EllipsoidPrimitive.js +20 -5
- data/app/assets/javascripts/Scene/EllipsoidSurfaceAppearance.js +1 -2
- data/app/assets/javascripts/Scene/FrameState.js +1 -3
- data/app/assets/javascripts/Scene/GoogleEarthImageryProvider.js +2 -5
- data/app/assets/javascripts/Scene/OpenStreetMapImageryProvider.js +1 -2
- data/app/assets/javascripts/Scene/OrthographicFrustum.js +1 -2
- data/app/assets/javascripts/Scene/PerspectiveOffCenterFrustum.js +1 -2
- data/app/assets/javascripts/Scene/Polygon.js +1 -3
- data/app/assets/javascripts/Scene/Polyline.js +5 -2
- data/app/assets/javascripts/Scene/PolylineCollection.js +4 -6
- data/app/assets/javascripts/Scene/Primitive.js +19 -13
- data/app/assets/javascripts/Scene/PrimitivePipeline.js +1 -1
- data/app/assets/javascripts/Scene/Scene.js +7 -10
- data/app/assets/javascripts/Scene/SceneTransforms.js +1 -3
- data/app/assets/javascripts/Scene/SceneTransitioner.js +11 -11
- data/app/assets/javascripts/Scene/SingleTileImageryProvider.js +1 -2
- data/app/assets/javascripts/Scene/TexturePool.js +1 -1
- data/app/assets/javascripts/Scene/TileMapServiceImageryProvider.js +1 -2
- data/app/assets/javascripts/Scene/VRTheWorldTerrainProvider.js +1 -2
- data/app/assets/javascripts/Scene/ViewportQuad.js +1 -3
- data/app/assets/javascripts/Scene/WebMapServiceImageryProvider.js +1 -2
- data/app/assets/javascripts/ThirdParty/knockout-3.0.0.js +6 -3
- data/app/assets/javascripts/Widgets/CesiumWidget/CesiumWidget.js +4 -3
- data/app/assets/javascripts/Widgets/SceneModePicker/SceneModePickerViewModel.js +1 -1
- data/app/assets/javascripts/Widgets/Viewer/Viewer.js +5 -5
- data/app/assets/javascripts/Widgets/Viewer/viewerDragDropMixin.js +13 -13
- data/app/assets/javascripts/Widgets/Viewer/viewerDynamicObjectMixin.js +6 -6
- data/app/assets/javascripts/Widgets/widgets.css +1 -1
- data/lib/cesium/version.rb +1 -1
- metadata +6 -3
- data/app/assets/javascripts/Core/OrientationInterpolator.js +0 -106
|
@@ -28,7 +28,11 @@ define(['Core/loadWithXhr'], function(
|
|
|
28
28
|
* });
|
|
29
29
|
*/
|
|
30
30
|
var loadArrayBuffer = function(url, headers) {
|
|
31
|
-
return loadWithXhr(
|
|
31
|
+
return loadWithXhr({
|
|
32
|
+
url : url,
|
|
33
|
+
responseType : 'arraybuffer',
|
|
34
|
+
headers : headers
|
|
35
|
+
});
|
|
32
36
|
};
|
|
33
37
|
|
|
34
38
|
return loadArrayBuffer;
|
|
@@ -28,7 +28,11 @@ define(['Core/loadWithXhr'], function(
|
|
|
28
28
|
* });
|
|
29
29
|
*/
|
|
30
30
|
var loadBlob = function(url, headers) {
|
|
31
|
-
return loadWithXhr(
|
|
31
|
+
return loadWithXhr({
|
|
32
|
+
url : url,
|
|
33
|
+
responseType : 'blob',
|
|
34
|
+
headers : headers
|
|
35
|
+
});
|
|
32
36
|
};
|
|
33
37
|
|
|
34
38
|
return loadBlob;
|
|
@@ -32,7 +32,10 @@ define(['Core/loadWithXhr'], function(
|
|
|
32
32
|
* @see <a href='http://wiki.commonjs.org/wiki/Promises/A'>CommonJS Promises/A</a>
|
|
33
33
|
*/
|
|
34
34
|
var loadText = function(url, headers) {
|
|
35
|
-
return loadWithXhr(
|
|
35
|
+
return loadWithXhr({
|
|
36
|
+
url : url,
|
|
37
|
+
headers : headers
|
|
38
|
+
});
|
|
36
39
|
};
|
|
37
40
|
|
|
38
41
|
return loadText;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*global define*/
|
|
2
|
-
define(['Core/defined', 'Core/DeveloperError', 'Core/RequestErrorEvent', 'ThirdParty/when'], function(
|
|
2
|
+
define(['Core/defined', 'Core/defaultValue', 'Core/DeveloperError', 'Core/RequestErrorEvent', 'ThirdParty/when'], function(
|
|
3
3
|
defined,
|
|
4
|
+
defaultValue,
|
|
4
5
|
DeveloperError,
|
|
5
6
|
RequestErrorEvent,
|
|
6
7
|
when) {
|
|
@@ -14,45 +15,60 @@ define(['Core/defined', 'Core/DeveloperError', 'Core/RequestErrorEvent', 'ThirdP
|
|
|
14
15
|
*
|
|
15
16
|
* @exports loadWithXhr
|
|
16
17
|
*
|
|
17
|
-
* @param {
|
|
18
|
-
* @param {String}
|
|
19
|
-
* @param {
|
|
18
|
+
* @param {Object} options Options for the request.
|
|
19
|
+
* @param {String|Promise} options.url The URL of the data, or a promise for the URL.
|
|
20
|
+
* @param {String} [options.responseType] The type of response. This controls the type of item returned.
|
|
21
|
+
* @param {String} [options.method='GET'] The HTTP method to use.
|
|
22
|
+
* @param {String} [options.data] The data to send with the request, if any.
|
|
23
|
+
* @param {Object} [options.headers] HTTP headers to send with the request, if any.
|
|
20
24
|
*
|
|
21
25
|
* @returns {Promise} a promise that will resolve to the requested data when loaded.
|
|
22
26
|
*
|
|
27
|
+
* @exception {DeveloperError} options.url is required.
|
|
28
|
+
*
|
|
23
29
|
* @see <a href='http://www.w3.org/TR/cors/'>Cross-Origin Resource Sharing</a>
|
|
24
30
|
* @see <a href='http://wiki.commonjs.org/wiki/Promises/A'>CommonJS Promises/A</a>
|
|
25
31
|
*
|
|
26
32
|
* @see loadArrayBuffer
|
|
27
33
|
* @see loadBlob
|
|
34
|
+
* @see loadJson
|
|
28
35
|
* @see loadText
|
|
29
36
|
*
|
|
30
37
|
* @example
|
|
31
|
-
* //
|
|
32
|
-
* loadWithXhr(
|
|
38
|
+
* // Load a single URL asynchronously. In real code, you should use loadBlob instead.
|
|
39
|
+
* loadWithXhr({
|
|
40
|
+
* url : 'some/url',
|
|
41
|
+
* responseType : 'blob'
|
|
42
|
+
* }).then(function(blob) {
|
|
33
43
|
* // use the data
|
|
34
44
|
* }, function() {
|
|
35
45
|
* // an error occurred
|
|
36
46
|
* });
|
|
37
47
|
*/
|
|
38
|
-
var loadWithXhr = function(
|
|
39
|
-
|
|
40
|
-
|
|
48
|
+
var loadWithXhr = function(options) {
|
|
49
|
+
options = defaultValue(options, defaultValue.EMPTY_OBJECT);
|
|
50
|
+
if (!defined(options.url)) {
|
|
51
|
+
throw new DeveloperError('options.url is required.');
|
|
41
52
|
}
|
|
42
53
|
|
|
43
|
-
|
|
54
|
+
var responseType = options.responseType;
|
|
55
|
+
var method = defaultValue(options.method, 'GET');
|
|
56
|
+
var data = options.data;
|
|
57
|
+
var headers = options.headers;
|
|
58
|
+
|
|
59
|
+
return when(options.url, function(url) {
|
|
44
60
|
var deferred = when.defer();
|
|
45
61
|
|
|
46
|
-
loadWithXhr.load(url, responseType, headers, deferred);
|
|
62
|
+
loadWithXhr.load(url, responseType, method, data, headers, deferred);
|
|
47
63
|
|
|
48
64
|
return deferred.promise;
|
|
49
65
|
});
|
|
50
66
|
};
|
|
51
67
|
|
|
52
68
|
// This is broken out into a separate function so that it can be mocked for testing purposes.
|
|
53
|
-
loadWithXhr.load = function(url, responseType, headers, deferred) {
|
|
69
|
+
loadWithXhr.load = function(url, responseType, method, data, headers, deferred) {
|
|
54
70
|
var xhr = new XMLHttpRequest();
|
|
55
|
-
xhr.open(
|
|
71
|
+
xhr.open(method, url, true);
|
|
56
72
|
|
|
57
73
|
if (defined(headers)) {
|
|
58
74
|
for ( var key in headers) {
|
|
@@ -78,7 +94,7 @@ define(['Core/defined', 'Core/DeveloperError', 'Core/RequestErrorEvent', 'ThirdP
|
|
|
78
94
|
deferred.reject(new RequestErrorEvent());
|
|
79
95
|
};
|
|
80
96
|
|
|
81
|
-
xhr.send();
|
|
97
|
+
xhr.send(data);
|
|
82
98
|
};
|
|
83
99
|
|
|
84
100
|
loadWithXhr.defaultLoad = loadWithXhr.load;
|
|
@@ -27,9 +27,9 @@ define(['Core/Color', 'Core/defined', 'DynamicScene/ConstantProperty', 'DynamicS
|
|
|
27
27
|
/**
|
|
28
28
|
* A Number {@link Property} which determines the polyline's outline width.
|
|
29
29
|
* @type {Property}
|
|
30
|
-
* @default new ConstantProperty(
|
|
30
|
+
* @default new ConstantProperty(0)
|
|
31
31
|
*/
|
|
32
|
-
this.outlineWidth = new ConstantProperty(
|
|
32
|
+
this.outlineWidth = new ConstantProperty(0);
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -32,7 +32,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
32
32
|
},
|
|
33
33
|
|
|
34
34
|
getDatatype : function() {
|
|
35
|
-
return UniformDatatype.
|
|
35
|
+
return UniformDatatype.FLOAT_VEC4;
|
|
36
36
|
},
|
|
37
37
|
|
|
38
38
|
getValue : function(uniformState) {
|
|
@@ -79,7 +79,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
79
79
|
},
|
|
80
80
|
|
|
81
81
|
getDatatype : function() {
|
|
82
|
-
return UniformDatatype.
|
|
82
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
83
83
|
},
|
|
84
84
|
|
|
85
85
|
getValue : function(uniformState) {
|
|
@@ -127,7 +127,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
127
127
|
},
|
|
128
128
|
|
|
129
129
|
getDatatype : function() {
|
|
130
|
-
return UniformDatatype.
|
|
130
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
131
131
|
},
|
|
132
132
|
|
|
133
133
|
getValue : function(uniformState) {
|
|
@@ -160,7 +160,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
160
160
|
},
|
|
161
161
|
|
|
162
162
|
getDatatype : function() {
|
|
163
|
-
return UniformDatatype.
|
|
163
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
164
164
|
},
|
|
165
165
|
|
|
166
166
|
getValue : function(uniformState) {
|
|
@@ -192,7 +192,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
192
192
|
},
|
|
193
193
|
|
|
194
194
|
getDatatype : function() {
|
|
195
|
-
return UniformDatatype.
|
|
195
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
196
196
|
},
|
|
197
197
|
|
|
198
198
|
getValue : function(uniformState) {
|
|
@@ -227,7 +227,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
227
227
|
},
|
|
228
228
|
|
|
229
229
|
getDatatype : function() {
|
|
230
|
-
return UniformDatatype.
|
|
230
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
231
231
|
},
|
|
232
232
|
|
|
233
233
|
getValue : function(uniformState) {
|
|
@@ -261,7 +261,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
261
261
|
},
|
|
262
262
|
|
|
263
263
|
getDatatype : function() {
|
|
264
|
-
return UniformDatatype.
|
|
264
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
265
265
|
},
|
|
266
266
|
|
|
267
267
|
getValue : function(uniformState) {
|
|
@@ -294,7 +294,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
294
294
|
},
|
|
295
295
|
|
|
296
296
|
getDatatype : function() {
|
|
297
|
-
return UniformDatatype.
|
|
297
|
+
return UniformDatatype.FLOAT_MAT3;
|
|
298
298
|
},
|
|
299
299
|
|
|
300
300
|
getValue : function(uniformState) {
|
|
@@ -328,7 +328,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
328
328
|
},
|
|
329
329
|
|
|
330
330
|
getDatatype : function() {
|
|
331
|
-
return UniformDatatype.
|
|
331
|
+
return UniformDatatype.FLOAT_MAT3;
|
|
332
332
|
},
|
|
333
333
|
|
|
334
334
|
getValue : function(uniformState) {
|
|
@@ -360,7 +360,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
360
360
|
},
|
|
361
361
|
|
|
362
362
|
getDatatype : function() {
|
|
363
|
-
return UniformDatatype.
|
|
363
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
364
364
|
},
|
|
365
365
|
|
|
366
366
|
getValue : function(uniformState) {
|
|
@@ -394,7 +394,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
394
394
|
},
|
|
395
395
|
|
|
396
396
|
getDatatype : function() {
|
|
397
|
-
return UniformDatatype.
|
|
397
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
398
398
|
},
|
|
399
399
|
|
|
400
400
|
getValue : function(uniformState) {
|
|
@@ -427,7 +427,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
427
427
|
},
|
|
428
428
|
|
|
429
429
|
getDatatype : function() {
|
|
430
|
-
return UniformDatatype.
|
|
430
|
+
return UniformDatatype.FLOAT_MAT3;
|
|
431
431
|
},
|
|
432
432
|
|
|
433
433
|
getValue : function(uniformState) {
|
|
@@ -461,7 +461,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
461
461
|
},
|
|
462
462
|
|
|
463
463
|
getDatatype : function() {
|
|
464
|
-
return UniformDatatype.
|
|
464
|
+
return UniformDatatype.FLOAT_MAT3;
|
|
465
465
|
},
|
|
466
466
|
|
|
467
467
|
getValue : function(uniformState) {
|
|
@@ -495,7 +495,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
495
495
|
},
|
|
496
496
|
|
|
497
497
|
getDatatype : function() {
|
|
498
|
-
return UniformDatatype.
|
|
498
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
499
499
|
},
|
|
500
500
|
|
|
501
501
|
getValue : function(uniformState) {
|
|
@@ -527,7 +527,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
527
527
|
},
|
|
528
528
|
|
|
529
529
|
getDatatype : function() {
|
|
530
|
-
return UniformDatatype.
|
|
530
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
531
531
|
},
|
|
532
532
|
|
|
533
533
|
getValue : function(uniformState) {
|
|
@@ -562,7 +562,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
562
562
|
},
|
|
563
563
|
|
|
564
564
|
getDatatype : function() {
|
|
565
|
-
return UniformDatatype.
|
|
565
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
566
566
|
},
|
|
567
567
|
|
|
568
568
|
getValue : function(uniformState) {
|
|
@@ -602,7 +602,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
602
602
|
},
|
|
603
603
|
|
|
604
604
|
getDatatype : function() {
|
|
605
|
-
return UniformDatatype.
|
|
605
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
606
606
|
},
|
|
607
607
|
|
|
608
608
|
getValue : function(uniformState) {
|
|
@@ -642,7 +642,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
642
642
|
},
|
|
643
643
|
|
|
644
644
|
getDatatype : function() {
|
|
645
|
-
return UniformDatatype.
|
|
645
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
646
646
|
},
|
|
647
647
|
|
|
648
648
|
getValue : function(uniformState) {
|
|
@@ -682,7 +682,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
682
682
|
},
|
|
683
683
|
|
|
684
684
|
getDatatype : function() {
|
|
685
|
-
return UniformDatatype.
|
|
685
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
686
686
|
},
|
|
687
687
|
|
|
688
688
|
getValue : function(uniformState) {
|
|
@@ -713,7 +713,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
713
713
|
},
|
|
714
714
|
|
|
715
715
|
getDatatype : function() {
|
|
716
|
-
return UniformDatatype.
|
|
716
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
717
717
|
},
|
|
718
718
|
|
|
719
719
|
getValue : function(uniformState) {
|
|
@@ -748,7 +748,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
748
748
|
},
|
|
749
749
|
|
|
750
750
|
getDatatype : function() {
|
|
751
|
-
return UniformDatatype.
|
|
751
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
752
752
|
},
|
|
753
753
|
|
|
754
754
|
getValue : function(uniformState) {
|
|
@@ -785,7 +785,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
785
785
|
},
|
|
786
786
|
|
|
787
787
|
getDatatype : function() {
|
|
788
|
-
return UniformDatatype.
|
|
788
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
789
789
|
},
|
|
790
790
|
|
|
791
791
|
getValue : function(uniformState) {
|
|
@@ -825,7 +825,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
825
825
|
},
|
|
826
826
|
|
|
827
827
|
getDatatype : function() {
|
|
828
|
-
return UniformDatatype.
|
|
828
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
829
829
|
},
|
|
830
830
|
|
|
831
831
|
getValue : function(uniformState) {
|
|
@@ -866,7 +866,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
866
866
|
},
|
|
867
867
|
|
|
868
868
|
getDatatype : function() {
|
|
869
|
-
return UniformDatatype.
|
|
869
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
870
870
|
},
|
|
871
871
|
|
|
872
872
|
getValue : function(uniformState) {
|
|
@@ -906,7 +906,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
906
906
|
},
|
|
907
907
|
|
|
908
908
|
getDatatype : function() {
|
|
909
|
-
return UniformDatatype.
|
|
909
|
+
return UniformDatatype.FLOAT_MAT4;
|
|
910
910
|
},
|
|
911
911
|
|
|
912
912
|
getValue : function(uniformState) {
|
|
@@ -941,7 +941,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
941
941
|
},
|
|
942
942
|
|
|
943
943
|
getDatatype : function() {
|
|
944
|
-
return UniformDatatype.
|
|
944
|
+
return UniformDatatype.FLOAT_MAT3;
|
|
945
945
|
},
|
|
946
946
|
|
|
947
947
|
getValue : function(uniformState) {
|
|
@@ -979,7 +979,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
979
979
|
},
|
|
980
980
|
|
|
981
981
|
getDatatype : function() {
|
|
982
|
-
return UniformDatatype.
|
|
982
|
+
return UniformDatatype.FLOAT_MAT3;
|
|
983
983
|
},
|
|
984
984
|
|
|
985
985
|
getValue : function(uniformState) {
|
|
@@ -1013,7 +1013,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
1013
1013
|
},
|
|
1014
1014
|
|
|
1015
1015
|
getDatatype : function() {
|
|
1016
|
-
return UniformDatatype.
|
|
1016
|
+
return UniformDatatype.FLOAT_MAT3;
|
|
1017
1017
|
},
|
|
1018
1018
|
|
|
1019
1019
|
getValue : function(uniformState) {
|
|
@@ -1049,7 +1049,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
1049
1049
|
},
|
|
1050
1050
|
|
|
1051
1051
|
getDatatype : function() {
|
|
1052
|
-
return UniformDatatype.
|
|
1052
|
+
return UniformDatatype.FLOAT_MAT3;
|
|
1053
1053
|
},
|
|
1054
1054
|
|
|
1055
1055
|
getValue : function(uniformState) {
|
|
@@ -1072,7 +1072,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
1072
1072
|
},
|
|
1073
1073
|
|
|
1074
1074
|
getDatatype : function() {
|
|
1075
|
-
return UniformDatatype.
|
|
1075
|
+
return UniformDatatype.FLOAT_VEC2;
|
|
1076
1076
|
},
|
|
1077
1077
|
|
|
1078
1078
|
getValue : function(uniformState) {
|
|
@@ -1104,7 +1104,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
1104
1104
|
},
|
|
1105
1105
|
|
|
1106
1106
|
getDatatype : function() {
|
|
1107
|
-
return UniformDatatype.
|
|
1107
|
+
return UniformDatatype.FLOAT_VEC2;
|
|
1108
1108
|
},
|
|
1109
1109
|
|
|
1110
1110
|
getValue : function(uniformState) {
|
|
@@ -1136,7 +1136,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
1136
1136
|
},
|
|
1137
1137
|
|
|
1138
1138
|
getDatatype : function() {
|
|
1139
|
-
return UniformDatatype.
|
|
1139
|
+
return UniformDatatype.FLOAT_VEC2;
|
|
1140
1140
|
},
|
|
1141
1141
|
|
|
1142
1142
|
getValue : function(uniformState) {
|
|
@@ -1192,7 +1192,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
1192
1192
|
},
|
|
1193
1193
|
|
|
1194
1194
|
getDatatype : function() {
|
|
1195
|
-
return UniformDatatype.
|
|
1195
|
+
return UniformDatatype.FLOAT_VEC3;
|
|
1196
1196
|
},
|
|
1197
1197
|
|
|
1198
1198
|
getValue : function(uniformState) {
|
|
@@ -1219,7 +1219,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
1219
1219
|
},
|
|
1220
1220
|
|
|
1221
1221
|
getDatatype : function() {
|
|
1222
|
-
return UniformDatatype.
|
|
1222
|
+
return UniformDatatype.FLOAT_VEC3;
|
|
1223
1223
|
},
|
|
1224
1224
|
|
|
1225
1225
|
getValue : function(uniformState) {
|
|
@@ -1251,7 +1251,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
1251
1251
|
},
|
|
1252
1252
|
|
|
1253
1253
|
getDatatype : function() {
|
|
1254
|
-
return UniformDatatype.
|
|
1254
|
+
return UniformDatatype.FLOAT_VEC3;
|
|
1255
1255
|
},
|
|
1256
1256
|
|
|
1257
1257
|
getValue : function(uniformState) {
|
|
@@ -1280,7 +1280,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
1280
1280
|
},
|
|
1281
1281
|
|
|
1282
1282
|
getDatatype : function() {
|
|
1283
|
-
return UniformDatatype.
|
|
1283
|
+
return UniformDatatype.FLOAT_VEC3;
|
|
1284
1284
|
},
|
|
1285
1285
|
|
|
1286
1286
|
getValue : function(uniformState) {
|
|
@@ -1311,7 +1311,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
1311
1311
|
},
|
|
1312
1312
|
|
|
1313
1313
|
getDatatype : function() {
|
|
1314
|
-
return UniformDatatype.
|
|
1314
|
+
return UniformDatatype.FLOAT_VEC3;
|
|
1315
1315
|
},
|
|
1316
1316
|
|
|
1317
1317
|
getValue : function(uniformState) {
|
|
@@ -1341,7 +1341,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
1341
1341
|
},
|
|
1342
1342
|
|
|
1343
1343
|
getDatatype : function() {
|
|
1344
|
-
return UniformDatatype.
|
|
1344
|
+
return UniformDatatype.FLOAT_VEC3;
|
|
1345
1345
|
},
|
|
1346
1346
|
|
|
1347
1347
|
getValue : function(uniformState) {
|
|
@@ -1371,7 +1371,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
1371
1371
|
},
|
|
1372
1372
|
|
|
1373
1373
|
getDatatype : function() {
|
|
1374
|
-
return UniformDatatype.
|
|
1374
|
+
return UniformDatatype.FLOAT_VEC3;
|
|
1375
1375
|
},
|
|
1376
1376
|
|
|
1377
1377
|
getValue : function(uniformState) {
|
|
@@ -1395,7 +1395,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
1395
1395
|
},
|
|
1396
1396
|
|
|
1397
1397
|
getDatatype : function() {
|
|
1398
|
-
return UniformDatatype.
|
|
1398
|
+
return UniformDatatype.FLOAT_VEC3;
|
|
1399
1399
|
},
|
|
1400
1400
|
|
|
1401
1401
|
getValue : function(uniformState) {
|
|
@@ -1515,7 +1515,7 @@ define(['Core/Cartesian3', 'Core/Matrix4', 'Renderer/UniformDatatype'],function(
|
|
|
1515
1515
|
},
|
|
1516
1516
|
|
|
1517
1517
|
getDatatype : function() {
|
|
1518
|
-
return UniformDatatype.
|
|
1518
|
+
return UniformDatatype.FLOAT_MAT3;
|
|
1519
1519
|
},
|
|
1520
1520
|
|
|
1521
1521
|
getValue : function(uniformState) {
|