mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
Some more code reformatting.
This commit is contained in:
parent
26691118de
commit
15a3a8d252
2 changed files with 4 additions and 4 deletions
|
@ -34,13 +34,13 @@ public:
|
|||
VoxelSystem(float treeScale = TREE_SCALE, int maxVoxels = MAX_VOXELS_PER_SYSTEM);
|
||||
~VoxelSystem();
|
||||
|
||||
void setDataSourceID(int dataSourceID) { _dataSourceID = dataSourceID; };
|
||||
int getDataSourceID() const { return _dataSourceID; };
|
||||
void setDataSourceID(int dataSourceID) { _dataSourceID = dataSourceID; }
|
||||
int getDataSourceID() const { return _dataSourceID; }
|
||||
|
||||
int parseData(unsigned char* sourceBuffer, int numBytes);
|
||||
|
||||
virtual void init();
|
||||
void simulate(float deltaTime) { };
|
||||
void simulate(float deltaTime) { }
|
||||
void render(bool texture);
|
||||
|
||||
void changeTree(VoxelTree* newTree);
|
||||
|
|
|
@ -81,7 +81,7 @@ public:
|
|||
|
||||
// some frustum comparisons
|
||||
bool matches(const ViewFrustum& compareTo, bool debug = false) const;
|
||||
bool matches(const ViewFrustum* compareTo, bool debug = false) const { return matches(*compareTo, debug); };
|
||||
bool matches(const ViewFrustum* compareTo, bool debug = false) const { return matches(*compareTo, debug); }
|
||||
|
||||
void computePickRay(float x, float y, glm::vec3& origin, glm::vec3& direction) const;
|
||||
|
||||
|
|
Loading…
Reference in a new issue