|
void OglGui::Camera3DAnchorControl::SetAnchor3DInfo |
( |
int |
index, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
tX, |
|
|
float |
tY, |
|
|
float |
tZ, |
|
|
float |
uX, |
|
|
float |
uY, |
|
|
float |
uZ, |
|
|
float |
rX, |
|
|
float |
rY, |
|
|
float |
rZ | |
|
) |
| | [inline] |
Definition at line 74 of file Camera3DAnchorControl.h.
References cNrOfAnchors, mAnchors, OglGui::Camera3DAnchorControl::Anchor3DInfo::rX, OglGui::Camera3DAnchorControl::Anchor3DInfo::rY, OglGui::Camera3DAnchorControl::Anchor3DInfo::rZ, OglGui::Camera3DAnchorControl::Anchor3DInfo::tX, OglGui::Camera3DAnchorControl::Anchor3DInfo::tY, OglGui::Camera3DAnchorControl::Anchor3DInfo::tZ, OglGui::Camera3DAnchorControl::Anchor3DInfo::uX, OglGui::Camera3DAnchorControl::Anchor3DInfo::uY, OglGui::Camera3DAnchorControl::Anchor3DInfo::uZ, OglGui::Camera3DAnchorControl::Anchor3DInfo::x, OglGui::Camera3DAnchorControl::Anchor3DInfo::y, and OglGui::Camera3DAnchorControl::Anchor3DInfo::z. 00079 {
00080 if (index < 0 || index >= cNrOfAnchors)
00081 return;
00082 Anchor3DInfo a;
00083 a.x = x; a.y = y; a.z = z;
00084 a.tX = tX; a.tY = tY; a.tZ = tZ;
00085 a.uX = uX; a.uY = uY; a.uZ = uZ;
00086 a.rX = rX; a.rY = rY; a.rZ = rZ;
00087 mAnchors[index] = a;
00088 }
|