History

keep a pointer to owning agent in AgentData

Stephen Birarda committed 13 years ago

Commit 36892da1 parent a3f309712 files · +28 −13Browse files

Showing the changes to interface/src/VoxelSystem.cpp (1 of 12 files). Show all

Unified · Split

interface/src/VoxelSystem.cpp+1−1
@@ -44,7 +44,7 @@ GLubyte identityIndices[] = { 0,2,1, 0,3,2, // Z- . · 43 unmodified lines
4444 10,11,15, 10,15,14, // Y+
4545 4,5,6, 4,6,7 }; // Z+ .
4646
47−VoxelSystem::VoxelSystem() {
47+VoxelSystem::VoxelSystem() : AgentData(NULL) {
4848 _voxelsInReadArrays = _voxelsInWriteArrays = _voxelsUpdated = 0;
4949 _writeRenderFullVBO = true;
5050 _readRenderFullVBO = true;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t