- Исправлен баг функции
CVectorAverage. Был потерян аргумент listVectors (table Positions);
- Добавлены новые локальные функции из LuaExtended:
table_clear, table_clear2;
- Была проведена некоторая оптимизация функций:
IsCVector, IsQuaternion, IsInCameraView, IsInCameraViewSquared, IsObjectInCameraView, IsObjectInsideLocation, GetMapSize, CVectorEulerToQuaternion, CVectorQuaternionToEuler, EulerToQuaternion, QuaternionToEuler, IsVehicle;
- Теперь функции
CallEntityInZone и GetAllEntities не создают новые списки с Entities, а используют одни и те же для повышения производительности;
- Добавлена новая функция:
Class I3D
{
[M] void ClearAllCachedEntities()
/* Очищает все закэшированные объекты, которые получили [CallEntityInZone] и [GetAllEntities]
для лечения возможных проблем при их переборе в циклах */
}
- Прочие небольшие изменения;
- Изменен ReadMe.
Click here for view text of the update is in English
- Fixed a bug in the
CVectorAverage function. The argument listVectors was lost (table Positions);
- Added new local functions from LuaExtended:
table_clear, table_clear2;
- Some optimization of the functions has been carried out:
IsCVector, IsQuaternion, IsInCameraView, IsInCameraViewSquared, IsObjectInCameraView, IsObjectInsideLocation, GetMapSize, CVectorEulerToQuaternion, CVectorQuaternionToEuler, EulerToQuaternion, QuaternionToEuler, IsVehicle;
- Now the functions
CallEntityInZone and GetAllEntities do not create new lists with Entities, but use the same ones to improve performance;
- Added a new function:
Class I3D
{
[M] void ClearAllCachedEntities()
/* Clears all cached objects that have received [CallEntityInZone] and [GetAllEntities]
to treat possible problems when iterating through them */
}
- Other minor changes;
- Edited ReadMe.