mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
missing file
This commit is contained in:
@@ -244,7 +244,7 @@ namespace OpenSim.Framework
|
||||
}
|
||||
}
|
||||
|
||||
public unsafe void GetPatchBlock(float[] _block, int px, int py, float sub, float premult)
|
||||
public unsafe void GetPatchBlock(float* block, int px, int py, float sub, float premult)
|
||||
{
|
||||
int k = 0;
|
||||
int stride = m_heightmap.GetLength(1);
|
||||
@@ -252,7 +252,7 @@ namespace OpenSim.Framework
|
||||
int startX = px * 16 * stride;
|
||||
int endX = (px + 1) * 16 * stride;
|
||||
int startY = py * 16;
|
||||
fixed(float* block = _block, map = m_heightmap)
|
||||
fixed(float* map = m_heightmap)
|
||||
{
|
||||
for (int y = startY; y < startY + 16; y++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user