Added better perlin terrain generation
Added function to scatter models onto the terrain
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include "DirectXCore.h"
|
||||
#include <string>
|
||||
|
||||
struct CBUFFER
|
||||
{
|
||||
@ -16,6 +17,13 @@ struct CBUFFER
|
||||
float padding[2];
|
||||
};
|
||||
|
||||
struct TerrainPopNode
|
||||
{
|
||||
std::wstring nodeBaseName;
|
||||
std::wstring modelName;
|
||||
float scaleFactor;
|
||||
};
|
||||
|
||||
namespace SharedMethods
|
||||
{
|
||||
XMMATRIX RotateFromPoint(const float x, const float y, const float z, const XMMATRIX rotationMatrix);
|
||||
|
Reference in New Issue
Block a user