2016-05-30 16:37:03 +00:00
|
|
|
/*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Author: ACE-Team
|
2016-05-30 16:37:03 +00:00
|
|
|
* ?
|
|
|
|
*
|
|
|
|
* Arguments:
|
2017-06-08 13:31:51 +00:00
|
|
|
* <UNKNOWN>
|
2016-05-30 16:37:03 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
2017-06-08 13:31:51 +00:00
|
|
|
* Something <UNKNOWN>
|
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* [UNKNOWN] call ace_common_fnc_translateToModelSpace
|
2016-05-30 16:37:03 +00:00
|
|
|
*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Public: No
|
2016-05-30 16:37:03 +00:00
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
params ["_object", "_matrix", "_offset"];
|
|
|
|
|
|
|
|
private _origin = getPosASL _object;
|
|
|
|
|
|
|
|
_matrix params ["_xVec", "_yVec", "_zVec"];
|
|
|
|
|
|
|
|
_offset params ["_x", "_y", "_z"];
|
|
|
|
|
|
|
|
(_xVec vectorMultiply _x) vectorAdd (_yVec vectorMultiply _y) vectorAdd (_zVec vectorMultiply _z) vectorAdd _origin // return
|