Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Enum typing, custom filter impl typing #130

Merged
merged 15 commits into from
Jul 3, 2017
Merged

Conversation

modjke
Copy link
Contributor

@modjke modjke commented Jun 27, 2017

  • PIXI.* enums are now extern enums
  • Filter.apply is method properly typed
  • Important FilterManager's methods:
  • calculateNormalizedScreenSpaceMatrix
  • calculateScreenSpaceMatrix
  • calculateSpriteMatrix

No custom filters without em ;D

@ivanpopelyshev
Copy link

"src/pixi/plugins/app/Application.hx:245: characters 4-5 : Unexpected )"

@modjke
Copy link
Contributor Author

modjke commented Jul 3, 2017

Well, i've fixed typedef->enum stuff, but i'm still unsure that this is a good change.
Regardless strict typing, extern enums are not real haxe enums and getName(), getIndex(), getParameters() methods will not be available.
What do you think?

@adireddy

This comment was marked as spam.

@adireddy adireddy merged commit 905de8f into pixijs-userland:dev Jul 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants