Skip to content

Commit e21d586

Browse files
authored
Merge pull request #488 from akashic-games/add-composite-operation
add difference and saturation to composite operation
2 parents 773a3d0 + 3f33a7c commit e21d586

File tree

4 files changed

+16
-15
lines changed

4 files changed

+16
-15
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog
22

3+
## 3.17.0
4+
* @akashic/pdi-types@1.13.0 に追従
5+
* サポートする `CompisiteOperation``"difference"``"saturation"` を追加
6+
37
## 3.16.6
48
* exports.default をサポートする `g.ModuleManager#_internalRequire` を追加
59

package-lock.json

Lines changed: 7 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "@akashic/akashic-engine",
3-
"version": "3.16.6",
3+
"version": "3.17.0",
44
"description": "The core library of Akashic Engine",
55
"main": "index.js",
66
"dependencies": {
77
"@akashic/game-configuration": "~2.1.0",
8-
"@akashic/pdi-types": "~1.12.0",
8+
"@akashic/pdi-types": "^1.13.0",
99
"@akashic/playlog": "~3.3.0",
1010
"@akashic/trigger": "~2.1.0"
1111
},

src/Util.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ export module Util {
9898
[CompOp.ExperimentalDestinationIn]: "experimental-destination-in",
9999
[CompOp.DestinationOut]: "destination-out",
100100
[CompOp.DestinationOver]: "destination-over",
101-
[CompOp.Xor]: "xor"
101+
[CompOp.Xor]: "xor",
102+
[CompOp.Difference]: "difference",
103+
[CompOp.Saturation]: "saturation"
102104
};
103105
}

0 commit comments

Comments
 (0)