1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-phaser

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
Colors.md 1.7 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Richard Davey Отправлено 12.04.2023 20:50 842c60f

Phaser 3.60.0 Change Log

Return to the Change Log index.

Color and Display Updates

  • Calling the ColorMatrix.set, reset and getData methods all now use the built-in Float32 Array operations, making them considerably faster.
  • ColorMatrix._matrix and _data are now Float32Arrays.
  • ColorMatrix.BLACK_WHITE is a new constant used by blackwhite operations.
  • ColorMatrix.NEGATIVE is a new constant used by negative operations.
  • ColorMatrix.DESATURATE_LUMINANCE is a new constant used by desaturation operations.
  • ColorMatrix.SEPIA is a new constant used by sepia operations.
  • ColorMatrix.LSD is a new constant used by LSD operations.
  • ColorMatrix.BROWN is a new constant used by brown operations.
  • ColorMatrix.VINTAGE is a new constant used by vintage pinhole operations.
  • ColorMatrix.KODACHROME is a new constant used by kodachrome operations.
  • ColorMatrix.TECHNICOLOR is a new constant used by technicolor operations.
  • ColorMatrix.POLAROID is a new constant used by polaroid operations.
  • ColorMatrix.SHIFT_BGR is a new constant used by shift BGR operations.

Color and Display Bug Fixes

  • The method Color.setFromHSV would not change the members h, s and v, only the RGB properties. It now correctly updates them both. Fix #6276 (thanks @rexrainbow)
  • Display.RGB.equals will now return the correct result. Previously, it would always return false (thanks @samme)

Return to the Change Log index.

📖 Read the Phaser 3 API Docs 💻 Browse 2000+ Code Examples 🤝 Join the awesome Phaser Discord

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-phaser.git
git@api.gitlife.ru:oschina-mirror/mirrors-phaser.git
oschina-mirror
mirrors-phaser
mirrors-phaser
master