mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ffaa195fe5
* Fixed headers to work with silentspike python script * Fixed rest of the files * Fixed ace-team
27 lines
513 B
Plaintext
27 lines
513 B
Plaintext
/*
|
|
* Author: ACE-Team
|
|
* ?
|
|
*
|
|
* Arguments:
|
|
* <UNKNOWN>
|
|
*
|
|
* Return Value:
|
|
* Something <UNKNOWN>
|
|
*
|
|
* Example:
|
|
* [UNKNOWN] call ace_common_fnc_translateToModelSpace
|
|
*
|
|
* Public: No
|
|
*/
|
|
#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
|