Cleanup of the elements exposed to the console

This commit is contained in:
Lukas Joergensen 2017-12-10 18:57:46 +01:00
parent 4f78143dc8
commit 86a0ba44d3
8 changed files with 12 additions and 12 deletions

View file

@ -453,7 +453,7 @@ const char* afxCamera::getMode()
static char buffer[100];
ConsoleMethod(afxCamera, setOrbitMode, void, 7, 8,
"(GameBase orbitObject, transform mat, float minDistance, float maxDistance, float curDistance, bool ownClientObject)"
"(GameBase orbitObject, TransformF mat, float minDistance, float maxDistance, float curDistance, bool ownClientObject)"
"Set the camera to orbit around some given object.\n\n"
"@param orbitObject Object we want to orbit.\n"
"@param mat A set of fields: posX posY posZ aaX aaY aaZ aaTheta\n"
@ -541,7 +541,7 @@ ConsoleMethod(afxCamera, getThirdPersonAngle, F32, 2, 2, "")
return object->getThirdPersonAngle();
}
ConsoleMethod(afxCamera, setThirdPersonOffset, void, 3, 4, "(Point3F offset [, Point3f coi_offset])")
ConsoleMethod(afxCamera, setThirdPersonOffset, void, 3, 4, "(Point3F offset [, Point3F coi_offset])")
{
Point3F offset;
dSscanf(argv[2], "%f %f %f", &offset.x, &offset.y, &offset.z);