mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 12:28:03 +08:00
fix some apis
This commit is contained in:
@ -27,7 +27,7 @@ void main() {
|
||||
});
|
||||
|
||||
test('test rotate', () {
|
||||
Position p = new Position(1.0, 0.0).rotate(math.PI / 2);
|
||||
Position p = new Position(1.0, 0.0).rotate(math.pi / 2);
|
||||
expectDouble(p.x, 0.0);
|
||||
expectDouble(p.y, 1.0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user