|
|
@@ -456,7 +456,7 @@ static void RegisterVector3(asIScriptEngine* engine)
|
|
|
engine->RegisterObjectMethod("Vector3", "float AbsDotProduct(const Vector3&in) const", asMETHOD(Vector3, AbsDotProduct), asCALL_THISCALL);
|
|
|
engine->RegisterObjectMethod("Vector3", "float ProjectOntoAxis(const Vector3&in) const", asMETHOD(Vector3, ProjectOntoAxis), asCALL_THISCALL);
|
|
|
engine->RegisterObjectMethod("Vector3", "Vector3 ProjectOntoPlane(const Vector3&in, const Vector3&in) const", asMETHOD(Vector3, ProjectOntoPlane), asCALL_THISCALL);
|
|
|
- engine->RegisterObjectMethod("Vector3", "Vector3 ProjectOntoLine(const Vector3&in, const Vector3&in) const", asMETHOD(Vector3, ProjectOntoLine), asCALL_THISCALL);
|
|
|
+ engine->RegisterObjectMethod("Vector3", "Vector3 ProjectOntoLine(const Vector3&in, const Vector3&in, bool=false) const", asMETHOD(Vector3, ProjectOntoLine), asCALL_THISCALL);
|
|
|
engine->RegisterObjectMethod("Vector3", "float DistanceToPoint(const Vector3&in) const", asMETHOD(Vector3, DistanceToPoint), asCALL_THISCALL);
|
|
|
engine->RegisterObjectMethod("Vector3", "float DistanceToPlane(const Vector3&in, const Vector3&in) const", asMETHOD(Vector3, DistanceToPlane), asCALL_THISCALL);
|
|
|
engine->RegisterObjectMethod("Vector3", "Vector3 Orthogonalize(const Vector3&in) const", asMETHOD(Vector3, Orthogonalize), asCALL_THISCALL);
|