Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Add additional optional argument to Matrix.transformPoint(point:Point):Point function

Engaged ,
May 05, 2019 May 05, 2019

Hi Air team,

Can you please add optional result:Point argument to the Matrix.transformPoint(point:Point😞Point function so that function does not create new Point object every time is called if you pass a Point object as the second argument.

I have one library when that is using Matrix.transformPoint function a lot and it creates so much Point objects that it becomes so slow and unusable because gc is triggered all the time.

Thanks,

Caslav

TOPICS
Development
512
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 06, 2019 May 06, 2019

That method will never be changed but you can always write your own.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 06, 2019 May 06, 2019

Hi ASWC,

What is the reason for that method to never change with optional argument that will not break backward compatibility?

Regards,

Caslav

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 06, 2019 May 06, 2019
LATEST

Cos the AIR team would have to change it not only for AIR but for all platforms, too much work for them. They are working on essential only now.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines