diff options
| author | Jason Maskell <[email protected]> | 2016-05-19 14:56:31 +0200 |
|---|---|---|
| committer | Jason Maskell <[email protected]> | 2016-05-19 14:56:31 +0200 |
| commit | f7023576ff2f5be202e9c8536d38daeb966fa975 (patch) | |
| tree | e0df3dd4bfbab02626785d618f1147f78e803ec2 /sample/d3d11/distance_field.h | |
| parent | D3D11 test is compiling and running with a rendering error (ocean is grey and... (diff) | |
| download | waveworks_archive-f7023576ff2f5be202e9c8536d38daeb966fa975.tar.xz waveworks_archive-f7023576ff2f5be202e9c8536d38daeb966fa975.zip | |
Lots more conversion work done, not quite compiling yet. Paranoia commit.
Diffstat (limited to 'sample/d3d11/distance_field.h')
| -rw-r--r-- | sample/d3d11/distance_field.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sample/d3d11/distance_field.h b/sample/d3d11/distance_field.h index bbc217d..7f566e7 100644 --- a/sample/d3d11/distance_field.h +++ b/sample/d3d11/distance_field.h @@ -43,7 +43,7 @@ struct DistanceField // --------------------------------- Accessors ----------------------------------- ID3D11ShaderResourceView* GetDataTextureSRV() const { return m_pTopDownDataSRV; } - void GetWorldToTopDownTextureMatrix( XMMATRIX& worldToTopDownMatrix ); + void GetWorldToTopDownTextureMatrix( XMMATRIX worldToTopDownMatrix ); // --------------------------------- Rendering routines ----------------------------------- void GenerateDataTexture(ID3D11DeviceContext* pDC ); @@ -71,8 +71,8 @@ private: bool m_shouldGenerateDataTexture; - void renderTopDownData(ID3D11DeviceContext* pDC, const XMVECTOR& eyePositionWS); - void generateDistanceField( ID3D11DeviceContext* pDC ); + void renderTopDownData(ID3D11DeviceContext* pDC, const XMVECTOR eyePositionWS); + void generateDistanceField(ID3D11DeviceContext* pDC); bool checkPixel( float* pTextureData, const int cx, const int cy, const int dx, const int dy) const; float FindNearestPixel( float* pTextureData, const int cx, const int cy, float&, float&); }; |