Add the parameter plumbing and image generation

This commit is contained in:
Melanie
2010-10-06 03:32:01 +01:00
parent 17316170a5
commit abfcd168fc
2 changed files with 22 additions and 2 deletions

View File

@@ -100,8 +100,15 @@ namespace OpenSim.Region.OptionalModules.World.WorldView
{
}
public byte[] GenerateWorldView(Vector3 pos, Vector3 rot)
public byte[] GenerateWorldView(Vector3 pos, Vector3 rot, float fov,
int width, int height)
{
if (!m_Enabled)
return new Byte[0];
Bitmap bmp = m_Generator.CreateViewImage(pos, rot, fov, width,
height);
return new Byte[0];
}
}