Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

3D Tiles feature renames #3473

Merged
merged 8 commits into from
Jan 26, 2016
Merged

3D Tiles feature renames #3473

merged 8 commits into from
Jan 26, 2016

Conversation

pjcozzi
Copy link
Contributor

@pjcozzi pjcozzi commented Jan 26, 2016

  • Renamed "model/instance" to "feature"
  • Renamed Batched3DModel to Cesium3DTileFeature
  • Renamed getModel to getFeature
  • Renamed batchLength/instancesLength to featuresLength

This will create some trivial breaking changes for the 3d-tiles-sandcastle branch.

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Jan 26, 2016

Part of #3241.

Spec change: CesiumGS/3d-tiles#59

@@ -446,7 +446,7 @@ define([
var vertexBuffer = collection._vertexBuffer;
var createVertexBuffer = collection._createVertexBuffer;

var instancesLength = collection.length;
var featuresLength = collection.length;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since ModelInstanceCollection isn't strictly a 3D Tiles class, I think instances makes more sense here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yes. Bad search and replace.

@lilleyse
Copy link
Contributor

Just that comment, everything else looks good.

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Jan 26, 2016

Updated. The Sandcastle example is also updated.

@lilleyse
Copy link
Contributor

Alright this is ready to go. Merged.

lilleyse added a commit that referenced this pull request Jan 26, 2016
@lilleyse lilleyse merged commit 73175ea into 3d-tiles Jan 26, 2016
@lilleyse lilleyse deleted the 3d-tiles-doc-2 branch January 26, 2016 22:39
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants