port/mars-tycoon
Last change
on this file since 8125274 was 8125274, checked in by Jonathan Neufeld <support@…>, 3 years ago |
(WIP) Introduction of GD Native module and Godot-CPP API sub-module
|
-
Property mode
set to
100644
|
File size:
421 bytes
|
Rev | Line | |
---|
[8125274] | 1 | #ifndef __VOXGENSRC_H__
|
---|
| 2 | #define __VOXGENSRC_H__
|
---|
| 3 |
|
---|
| 4 | #include <Godot.hpp>
|
---|
| 5 | #include <VoxelGenerator.hpp>
|
---|
| 6 |
|
---|
| 7 | namespace godot {
|
---|
| 8 | class GeoWorldVoxelGeneratorSource : public VoxelGenerator {
|
---|
| 9 | private:
|
---|
| 10 | GODOT_CLASS(GeoWorldVoxelGeneratorSource, VoxelGenerator);
|
---|
| 11 |
|
---|
| 12 | public:
|
---|
| 13 | void generate_block(const Ref<VoxelBuffer> out_buffer, const Vector3 origin_in_voxels, const int64_t lod);
|
---|
| 14 | };
|
---|
| 15 | }
|
---|
| 16 |
|
---|
| 17 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.