mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add block rotate
This commit is contained in:
parent
d2416946d9
commit
900e4ae098
11 changed files with 233 additions and 73 deletions
|
|
@ -178,7 +178,7 @@ int main() {
|
|||
if (status) return status;
|
||||
|
||||
std::cout << "-- loading world" << std::endl;
|
||||
vec3 playerPosition = vec3(0,150,0);
|
||||
vec3 playerPosition = vec3(0,64,0);
|
||||
Camera* camera = new Camera(playerPosition, radians(90.0f));
|
||||
World* world = new World("world-1", "world/", 42);
|
||||
Player* player = new Player(playerPosition, 4.0f, camera);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue