File tree 12 files changed +42
-42
lines changed
12 files changed +42
-42
lines changed Original file line number Diff line number Diff line change @@ -35,20 +35,20 @@ class Aabb2 {
35
35
36
36
Aabb2 ()
37
37
: _min = new Vector2 .zero (),
38
- _max = new Vector2 .zero () {}
38
+ _max = new Vector2 .zero ();
39
39
40
40
Aabb2 .copy (Aabb2 other)
41
41
: _min = new Vector2 .copy (other._min),
42
- _max = new Vector2 .copy (other._max) {}
42
+ _max = new Vector2 .copy (other._max);
43
43
44
44
@deprecated
45
45
Aabb2 .minmax (Vector2 min_, Vector2 max_)
46
46
: _min = new Vector2 .copy (min_),
47
- _max = new Vector2 .copy (max_) {}
47
+ _max = new Vector2 .copy (max_);
48
48
49
49
Aabb2 .minMax (Vector2 min_, Vector2 max_)
50
50
: _min = new Vector2 .copy (min_),
51
- _max = new Vector2 .copy (max_) {}
51
+ _max = new Vector2 .copy (max_);
52
52
53
53
void copyMinMax (Vector2 min_, Vector2 max_) {
54
54
max_.setFrom (_max);
Original file line number Diff line number Diff line change @@ -35,20 +35,20 @@ class Aabb3 {
35
35
36
36
Aabb3 ()
37
37
: _min = new Vector3 .zero (),
38
- _max = new Vector3 .zero () {}
38
+ _max = new Vector3 .zero ();
39
39
40
40
Aabb3 .copy (Aabb3 other)
41
41
: _min = new Vector3 .copy (other._min),
42
- _max = new Vector3 .copy (other._max) {}
42
+ _max = new Vector3 .copy (other._max);
43
43
44
44
@deprecated
45
45
Aabb3 .minmax (Vector3 min_, Vector3 max_)
46
46
: _min = new Vector3 .copy (min_),
47
- _max = new Vector3 .copy (max_) {}
47
+ _max = new Vector3 .copy (max_);
48
48
49
49
Aabb3 .minMax (Vector3 min_, Vector3 max_)
50
50
: _min = new Vector3 .copy (min_),
51
- _max = new Vector3 .copy (max_) {}
51
+ _max = new Vector3 .copy (max_);
52
52
53
53
void copyMinMax (Vector3 min_, Vector3 max_) {
54
54
max_.setFrom (_max);
Original file line number Diff line number Diff line change @@ -55,19 +55,19 @@ class Plane {
55
55
56
56
Plane ()
57
57
: _normal = new Vector3 .zero (),
58
- _constant = 0.0 {}
58
+ _constant = 0.0 ;
59
59
60
60
Plane .copy (Plane other)
61
61
: _normal = new Vector3 .copy (other._normal),
62
- _constant = other._constant {}
62
+ _constant = other._constant;
63
63
64
64
Plane .components (double x, double y, double z, double w)
65
65
: _normal = new Vector3 (x, y, z),
66
- _constant = w {}
66
+ _constant = w;
67
67
68
68
Plane .normalconstant (Vector3 normal_, double constant_)
69
69
: _normal = new Vector3 .copy (normal_),
70
- _constant = constant_ {}
70
+ _constant = constant_;
71
71
72
72
void copyFrom (Plane o) {
73
73
_normal.setFrom (o._normal);
Original file line number Diff line number Diff line change @@ -30,15 +30,15 @@ class Ray {
30
30
31
31
Ray ()
32
32
: _origin = new Vector3 .zero (),
33
- _direction = new Vector3 .zero () {}
33
+ _direction = new Vector3 .zero ();
34
34
35
35
Ray .copy (Ray other)
36
36
: _origin = new Vector3 .copy (other._origin),
37
- _direction = new Vector3 .copy (other._direction) {}
37
+ _direction = new Vector3 .copy (other._direction);
38
38
39
39
Ray .originDirection (Vector3 origin_, Vector3 direction_)
40
40
: _origin = new Vector3 .copy (origin_),
41
- _direction = new Vector3 .copy (direction_) {}
41
+ _direction = new Vector3 .copy (direction_);
42
42
43
43
void copyOriginDirection (Vector3 origin_, Vector3 direction_) {
44
44
origin_.setFrom (_origin);
Original file line number Diff line number Diff line change @@ -31,15 +31,15 @@ class Sphere {
31
31
32
32
Sphere ()
33
33
: _center = new Vector3 .zero (),
34
- _radius = 0.0 {}
34
+ _radius = 0.0 ;
35
35
36
36
Sphere .copy (Sphere other)
37
37
: _center = new Vector3 .copy (other._center),
38
- _radius = other._radius {}
38
+ _radius = other._radius;
39
39
40
40
Sphere .centerRadius (Vector3 center_, double radius_)
41
41
: _center = new Vector3 .copy (center_),
42
- _radius = radius_ {}
42
+ _radius = radius_;
43
43
44
44
void copyFrom (Sphere o) {
45
45
_center.setFrom (o._center);
Original file line number Diff line number Diff line change @@ -33,17 +33,17 @@ class Triangle {
33
33
Triangle ()
34
34
: _point0 = new Vector3 .zero (),
35
35
_point1 = new Vector3 .zero (),
36
- _point2 = new Vector3 .zero () {}
36
+ _point2 = new Vector3 .zero ();
37
37
38
38
Triangle .copy (Triangle other)
39
39
: _point0 = new Vector3 .copy (other._point0),
40
40
_point1 = new Vector3 .copy (other._point1),
41
- _point2 = new Vector3 .copy (other._point2) {}
41
+ _point2 = new Vector3 .copy (other._point2);
42
42
43
43
Triangle .points (Vector3 point0_, Vector3 point1_, Vector3 point2_)
44
44
: _point0 = new Vector3 .copy (point0_),
45
45
_point1 = new Vector3 .copy (point1_),
46
- _point2 = new Vector3 .copy (point2_) {}
46
+ _point2 = new Vector3 .copy (point2_);
47
47
48
48
void copyOriginDirection (Vector3 point0_, Vector3 point1_, Vector3 point2_) {
49
49
point0_.setFrom (_point0);
Original file line number Diff line number Diff line change @@ -35,20 +35,20 @@ class Aabb2 {
35
35
36
36
Aabb2 ()
37
37
: _min = new Vector2 .zero (),
38
- _max = new Vector2 .zero () {}
38
+ _max = new Vector2 .zero ();
39
39
40
40
Aabb2 .copy (Aabb2 other)
41
41
: _min = new Vector2 .copy (other._min),
42
- _max = new Vector2 .copy (other._max) {}
42
+ _max = new Vector2 .copy (other._max);
43
43
44
44
@deprecated
45
45
Aabb2 .minmax (Vector2 min_, Vector2 max_)
46
46
: _min = new Vector2 .copy (min_),
47
- _max = new Vector2 .copy (max_) {}
47
+ _max = new Vector2 .copy (max_);
48
48
49
49
Aabb2 .minMax (Vector2 min_, Vector2 max_)
50
50
: _min = new Vector2 .copy (min_),
51
- _max = new Vector2 .copy (max_) {}
51
+ _max = new Vector2 .copy (max_);
52
52
53
53
void copyMinMax (Vector2 min_, Vector2 max_) {
54
54
max_.setFrom (_max);
Original file line number Diff line number Diff line change @@ -35,20 +35,20 @@ class Aabb3 {
35
35
36
36
Aabb3 ()
37
37
: _min = new Vector3 .zero (),
38
- _max = new Vector3 .zero () {}
38
+ _max = new Vector3 .zero ();
39
39
40
40
Aabb3 .copy (Aabb3 other)
41
41
: _min = new Vector3 .copy (other._min),
42
- _max = new Vector3 .copy (other._max) {}
42
+ _max = new Vector3 .copy (other._max);
43
43
44
44
@deprecated
45
45
Aabb3 .minmax (Vector3 min_, Vector3 max_)
46
46
: _min = new Vector3 .copy (min_),
47
- _max = new Vector3 .copy (max_) {}
47
+ _max = new Vector3 .copy (max_);
48
48
49
49
Aabb3 .minMax (Vector3 min_, Vector3 max_)
50
50
: _min = new Vector3 .copy (min_),
51
- _max = new Vector3 .copy (max_) {}
51
+ _max = new Vector3 .copy (max_);
52
52
53
53
void copyMinMax (Vector3 min_, Vector3 max_) {
54
54
max_.setFrom (_max);
Original file line number Diff line number Diff line change @@ -55,19 +55,19 @@ class Plane {
55
55
56
56
Plane ()
57
57
: _normal = new Vector3 .zero (),
58
- _constant = 0.0 {}
58
+ _constant = 0.0 ;
59
59
60
60
Plane .copy (Plane other)
61
61
: _normal = new Vector3 .copy (other._normal),
62
- _constant = other._constant {}
62
+ _constant = other._constant;
63
63
64
64
Plane .components (double x, double y, double z, double w)
65
65
: _normal = new Vector3 (x, y, z),
66
- _constant = w {}
66
+ _constant = w;
67
67
68
68
Plane .normalconstant (Vector3 normal_, double constant_)
69
69
: _normal = new Vector3 .copy (normal_),
70
- _constant = constant_ {}
70
+ _constant = constant_;
71
71
72
72
void copyFrom (Plane o) {
73
73
_normal.setFrom (o._normal);
Original file line number Diff line number Diff line change @@ -30,15 +30,15 @@ class Ray {
30
30
31
31
Ray ()
32
32
: _origin = new Vector3 .zero (),
33
- _direction = new Vector3 .zero () {}
33
+ _direction = new Vector3 .zero ();
34
34
35
35
Ray .copy (Ray other)
36
36
: _origin = new Vector3 .copy (other._origin),
37
- _direction = new Vector3 .copy (other._direction) {}
37
+ _direction = new Vector3 .copy (other._direction);
38
38
39
39
Ray .originDirection (Vector3 origin_, Vector3 direction_)
40
40
: _origin = new Vector3 .copy (origin_),
41
- _direction = new Vector3 .copy (direction_) {}
41
+ _direction = new Vector3 .copy (direction_);
42
42
43
43
void copyOriginDirection (Vector3 origin_, Vector3 direction_) {
44
44
origin_.setFrom (_origin);
Original file line number Diff line number Diff line change @@ -31,15 +31,15 @@ class Sphere {
31
31
32
32
Sphere ()
33
33
: _center = new Vector3 .zero (),
34
- _radius = 0.0 {}
34
+ _radius = 0.0 ;
35
35
36
36
Sphere .copy (Sphere other)
37
37
: _center = new Vector3 .copy (other._center),
38
- _radius = other._radius {}
38
+ _radius = other._radius;
39
39
40
40
Sphere .centerRadius (Vector3 center_, double radius_)
41
41
: _center = new Vector3 .copy (center_),
42
- _radius = radius_ {}
42
+ _radius = radius_;
43
43
44
44
void copyFrom (Sphere o) {
45
45
_center.setFrom (o._center);
Original file line number Diff line number Diff line change @@ -33,17 +33,17 @@ class Triangle {
33
33
Triangle ()
34
34
: _point0 = new Vector3 .zero (),
35
35
_point1 = new Vector3 .zero (),
36
- _point2 = new Vector3 .zero () {}
36
+ _point2 = new Vector3 .zero ();
37
37
38
38
Triangle .copy (Triangle other)
39
39
: _point0 = new Vector3 .copy (other._point0),
40
40
_point1 = new Vector3 .copy (other._point1),
41
- _point2 = new Vector3 .copy (other._point2) {}
41
+ _point2 = new Vector3 .copy (other._point2);
42
42
43
43
Triangle .points (Vector3 point0_, Vector3 point1_, Vector3 point2_)
44
44
: _point0 = new Vector3 .copy (point0_),
45
45
_point1 = new Vector3 .copy (point1_),
46
- _point2 = new Vector3 .copy (point2_) {}
46
+ _point2 = new Vector3 .copy (point2_);
47
47
48
48
void copyOriginDirection (Vector3 point0_, Vector3 point1_, Vector3 point2_) {
49
49
point0_.setFrom (_point0);
You can’t perform that action at this time.
0 commit comments