diff options
author | Melanie | 2010-10-06 03:32:01 +0100 |
---|---|---|
committer | Melanie | 2010-10-06 03:32:01 +0100 |
commit | abfcd168fcdd65c83b66f4506f1d589e4a5f10ef (patch) | |
tree | c6cf78287979ddd38ec04e09d35151f1d2131c00 /OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs | |
parent | Add WOrldView request handler and plumbing (diff) | |
download | opensim-SC_OLD-abfcd168fcdd65c83b66f4506f1d589e4a5f10ef.zip opensim-SC_OLD-abfcd168fcdd65c83b66f4506f1d589e4a5f10ef.tar.gz opensim-SC_OLD-abfcd168fcdd65c83b66f4506f1d589e4a5f10ef.tar.bz2 opensim-SC_OLD-abfcd168fcdd65c83b66f4506f1d589e4a5f10ef.tar.xz |
Add the parameter plumbing and image generation
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs b/OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs index 098b741..a2e47c3 100644 --- a/OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs +++ b/OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs | |||
@@ -100,8 +100,15 @@ namespace OpenSim.Region.OptionalModules.World.WorldView | |||
100 | { | 100 | { |
101 | } | 101 | } |
102 | 102 | ||
103 | public byte[] GenerateWorldView(Vector3 pos, Vector3 rot) | 103 | public byte[] GenerateWorldView(Vector3 pos, Vector3 rot, float fov, |
104 | int width, int height) | ||
104 | { | 105 | { |
106 | if (!m_Enabled) | ||
107 | return new Byte[0]; | ||
108 | |||
109 | Bitmap bmp = m_Generator.CreateViewImage(pos, rot, fov, width, | ||
110 | height); | ||
111 | |||
105 | return new Byte[0]; | 112 | return new Byte[0]; |
106 | } | 113 | } |
107 | } | 114 | } |