mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
27 lines
516 B
Plaintext
27 lines
516 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: ACE-Team
|
|
* ?
|
|
*
|
|
* Arguments:
|
|
* <UNKNOWN>
|
|
*
|
|
* Return Value:
|
|
* Something <UNKNOWN>
|
|
*
|
|
* Example:
|
|
* [UNKNOWN] call ace_common_fnc_translateToModelSpace
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
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
|