-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5461 from AnalyticalGraphicsInc/3d-tiles-cleanup
3D Tiles Cleanup
- Loading branch information
Showing
46 changed files
with
1,535 additions
and
1,425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
/*global define*/ | ||
define([ | ||
'../Core/freezeObject' | ||
], function( | ||
freezeObject) { | ||
'use strict'; | ||
|
||
/** | ||
* An enum describing the attribute type for glTF and 3D Tiles. | ||
* | ||
* @exports AttributeType | ||
* | ||
* @private | ||
*/ | ||
var AttributeType = { | ||
/** | ||
* The attribute is a single component. | ||
* | ||
* @type {String} | ||
* @constant | ||
*/ | ||
SCALAR : 'SCALAR', | ||
|
||
/** | ||
* The attribute is a two-component vector. | ||
* | ||
* @type {String} | ||
* @constant | ||
*/ | ||
VEC2 : 'VEC2', | ||
|
||
/** | ||
* The attribute is a three-component vector. | ||
* | ||
* @type {String} | ||
* @constant | ||
*/ | ||
VEC3 : 'VEC3', | ||
|
||
/** | ||
* The attribute is a four-component vector. | ||
* | ||
* @type {String} | ||
* @constant | ||
*/ | ||
VEC4 : 'VEC4', | ||
|
||
/** | ||
* The attribute is a 2x2 matrix. | ||
* | ||
* @type {String} | ||
* @constant | ||
*/ | ||
MAT2 : 'MAT2', | ||
|
||
/** | ||
* The attribute is a 3x3 matrix. | ||
* | ||
* @type {String} | ||
* @constant | ||
*/ | ||
MAT3 : 'MAT3', | ||
|
||
/** | ||
* The attribute is a 4x4 matrix. | ||
* | ||
* @type {String} | ||
* @constant | ||
*/ | ||
MAT4 : 'MAT4' | ||
}; | ||
|
||
return freezeObject(AttributeType); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.