Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Terrain using new VertexBuffer #2795

Merged
merged 2 commits into from Mar 1, 2014
Merged

Conversation

fluffyfreak
Copy link
Contributor

Switch over to using the new VertexBuffer and IndexBuffer types for the terrain patches.
Pass the material into it's draw method rather than setting it all outside of it in GeoSphere.

…al into it's draw method rather than setting it all outside of it.
@fluffyfreak
Copy link
Contributor Author

Ping @Luomu :)

if (m_needUpdateVBOs) {
assert(renderer);
assert(radius>0.0);
Copy link
Member

Choose a reason for hiding this comment

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

Cannot compile, radius not defined in this scope

Copy link
Contributor

Choose a reason for hiding this comment

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

So I suppose, this means MSVS project files do not enable assertions. Normally we include assertions even in release builds (at least Linux and the official Windows builds do).

@Luomu
Copy link
Member

Luomu commented Mar 1, 2014

Otherwise OK 👍

@Luomu Luomu merged commit 5fcf6f7 into pioneerspacesim:master Mar 1, 2014
@fluffyfreak fluffyfreak deleted the terrainVB branch March 1, 2014 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants