| 548 |
/// <param name="height">Height of the texture</param> |
/// <param name="height">Height of the texture</param> |
| 549 |
public void SendRexRttCamera(int command, string name, UUID assetId, Vector3 pos, Vector3 lookat, int width, int height) |
public void SendRexRttCamera(int command, string name, UUID assetId, Vector3 pos, Vector3 lookat, int width, int height) |
| 550 |
{ |
{ |
| 551 |
|
string sPos = pos.X.ToString() + " " + pos.Y.ToString() + " " + pos.Z.ToString(); |
| 552 |
|
sPos = sPos.Replace(",", "."); |
| 553 |
|
string sLookAt = lookat.X.ToString() + " " + lookat.Y.ToString() + " " + lookat.Z.ToString(); |
| 554 |
|
sLookAt = sLookAt.Replace(",", "."); |
| 555 |
|
|
| 556 |
List<string> pack = new List<string>(); |
List<string> pack = new List<string>(); |
| 557 |
|
|
| 558 |
pack.Add(command.ToString()); |
pack.Add(command.ToString()); |
| 559 |
pack.Add(name); |
pack.Add(name); |
| 560 |
pack.Add(assetId.ToString()); |
pack.Add(assetId.ToString()); |
| 561 |
pack.Add(pos.ToString()); |
pack.Add(sPos); |
| 562 |
pack.Add(lookat.ToString()); |
pack.Add(sLookAt); |
| 563 |
pack.Add(width.ToString()); |
pack.Add(width.ToString()); |
| 564 |
pack.Add(height.ToString()); |
pack.Add(height.ToString()); |
| 565 |
|
|