您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011
  1. export default class Vec2 {
  2. constructor(x = 0, y = 0) {
  3. this.x = x;
  4. this.y = y;
  5. }
  6. set(x, y) {
  7. this.x = x;
  8. this.y = y;
  9. }
  10. }