This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| === https://en.wikipedia.org/wiki/Wikipedia:Language_recognition_chart | |
| ABCDEFGHIJKLMNOPQRSTUVWXYZ – Latin alphabet | |
| àéëïij – Dutch | |
| áêéèëïíîôóúû – Afrikaans | |
| êôúû – West Frisian | |
| ÆØÅæøå – Danish, Norwegian | |
| ÄÖäö – Finnish (BCDFGQWXZÅbcfgqwxzå only found in names and loanwords, occasionally also ŠšŽž) | |
| ÅÄÖåäö – Swedish (occasionally é) | |
| ÄÖÕÜäöõü – Estonian | |
| ÄÖÜäöüß – German |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// Расчет угла выстрела для движения снаряда по параболической траектории | |
| /// From: https://www.habrador.com/tutorials/unity-realistic-bullets/2-targeting/ | |
| /// </summary> | |
| /// <param name="bulletSpeed">Скорость пули</param> | |
| /// <param name="deltaTarget">Относительное положение цели</param> | |
| /// <param name="higherTrajectory">два угла могут дать одинаковый результат, true - по большой параболе, false - по низкой</param> | |
| /// <param name="gravity">ускорение гравитации</param> | |
| /// <returns> | |
| /// >=0 Угол выстрела |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :: Во всех .html файлах в папке DEST_PATH добавит к ссылкам на скрипты и картинки | |
| :: их crc32-сумму через знак вопроса, что гарантирует загрузку файла | |
| :: не из кеша браузера, если он изменился с последней заливкой | |
| :: | |
| :: Например: | |
| :: <link rel="stylesheet" href="css/main.css"> | |
| :: <script type="text/javascript" src="/js/main.js"></script> | |
| :: <img src="img/ui/lock.png"> | |
| :: Заменится на: | |
| :: <link rel="stylesheet" href="css/main.css?2201884646"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// Через сколько времени удастся перехватить равномерно двигающуюся цель, | |
| /// если мы будем двигаться в место встречи со скоростью mySpeed | |
| /// </summary> | |
| /// <param name="targetPosition">текущее положение цели</param> | |
| /// <param name="targetSpeed">вектор движения цели</param> | |
| /// <param name="myPosition">наше текущее положение</param> | |
| /// <param name="mySpeed">наша скорость движения</param> | |
| /// <returns>через сколько времени встретимся. | |
| /// Место встречи: targetPosition + targetSpeed*t</returns> |
OlderNewer