Skip to content

Commit dc299f8

Browse files
committed
up
1 parent ee653dd commit dc299f8

File tree

5 files changed

+428
-303
lines changed

5 files changed

+428
-303
lines changed

src/main/kotlin/glm_/vec1/Vec1us.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package glm_.vec1
33
import glm_.*
44
import glm_.vec2.Vec2bool
55
import glm_.vec2.Vec2t
6-
import glm_.vec2.operators.vec2us_operators
6+
import glm_.vec2.operators.opVec2us
77
import glm_.vec3.Vec3bool
88
import glm_.vec3.Vec3t
99
import glm_.vec4.Vec4bool
@@ -100,7 +100,7 @@ class Vec1us(x: Ushort) : Vec1t<Ushort>(x) {
100100
}
101101

102102

103-
companion object : vec2us_operators {
103+
companion object /*: opVec2us*/ {
104104
@JvmField
105105
val length = 1
106106
@JvmField

src/main/kotlin/glm_/vec2/Vec2ul.kt

Lines changed: 127 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package glm_.vec2
22

33
import glm_.*
4-
import glm_.vec2.operators.vec2ul_operators
4+
import glm_.vec2.operators.opVec2ul
55
import glm_.vec3.Vec3bool
66
import glm_.vec3.Vec3t
77
import glm_.vec4.Vec4bool
@@ -115,7 +115,7 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
115115
}
116116

117117

118-
companion object : vec2ul_operators {
118+
companion object : opVec2ul() {
119119
@JvmField
120120
val length = 2
121121
@JvmField
@@ -132,11 +132,11 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
132132
// -- Increment main.and decrement operators --
133133

134134
operator fun inc(res: Vec2ul = Vec2ul()) = plus(res, this, 1, 1)
135-
fun inc_() = plus(this, this, 1, 1)
135+
fun incAssign() = plus(this, this, 1, 1)
136136

137137

138138
operator fun dec(res: Vec2ul = Vec2ul()) = minus(res, this, 1, 1)
139-
fun dec_() = minus(this, this, 1, 1)
139+
fun decAssign() = minus(this, this, 1, 1)
140140

141141

142142
// -- Specific binary arithmetic operators --
@@ -155,11 +155,17 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
155155
fun plus(b: Long, res: Vec2ul) = plus(res, this, b, b)
156156
fun plus(b: Vec2ul, res: Vec2ul) = plus(res, this, b.x, b.y)
157157

158-
fun plus_(bX: Ulong, bY: Ulong) = plus(this, this, bX, bY)
159-
fun plus_(bX: Long, bY: Long) = plus(this, this, bX, bY)
160-
infix fun plus_(b: Ulong) = plus(this, this, b, b)
161-
infix fun plus_(b: Long) = plus(this, this, b, b)
162-
infix fun plus_(b: Vec2ul) = plus(this, this, b.x, b.y)
158+
fun plusAssign(bX: Ulong, bY: Ulong) = plus(this, this, bX, bY)
159+
fun plusAssign(bX: Long, bY: Long) = plus(this, this, bX, bY)
160+
infix operator fun plusAssign(b: Ulong) {
161+
plus(this, this, b, b)
162+
}
163+
infix operator fun plusAssign(b: Long) {
164+
plus(this, this, b, b)
165+
}
166+
infix operator fun plusAssign(b: Vec2ul) {
167+
plus(this, this, b.x, b.y)
168+
}
163169

164170

165171
infix operator fun minus(b: Ulong) = minus(Vec2ul(), this, b, b)
@@ -176,11 +182,17 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
176182
fun minus(b: Long, res: Vec2ul) = minus(res, this, b, b)
177183
fun minus(b: Vec2ul, res: Vec2ul) = minus(res, this, b.x, b.y)
178184

179-
fun minus_(bX: Ulong, bY: Ulong) = minus(this, this, bX, bY)
180-
fun minus_(bX: Long, bY: Long) = minus(this, this, bX, bY)
181-
infix fun minus_(b: Ulong) = minus(this, this, b, b)
182-
infix fun minus_(b: Long) = minus(this, this, b, b)
183-
infix fun minus_(b: Vec2ul) = minus(this, this, b.x, b.y)
185+
fun minusAssign(bX: Ulong, bY: Ulong) = minus(this, this, bX, bY)
186+
fun minusAssign(bX: Long, bY: Long) = minus(this, this, bX, bY)
187+
infix operator fun minusAssign(b: Ulong) {
188+
minus(this, this, b, b)
189+
}
190+
infix operator fun minusAssign(b: Long) {
191+
minus(this, this, b, b)
192+
}
193+
infix operator fun minusAssign(b: Vec2ul) {
194+
minus(this, this, b.x, b.y)
195+
}
184196

185197

186198
infix operator fun times(b: Ulong) = times(Vec2ul(), this, b, b)
@@ -197,11 +209,17 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
197209
fun times(b: Long, res: Vec2ul) = times(res, this, b, b)
198210
fun times(b: Vec2ul, res: Vec2ul) = times(res, this, b.x, b.y)
199211

200-
fun times_(bX: Ulong, bY: Ulong) = times(this, this, bX, bY)
201-
fun times_(bX: Long, bY: Long) = times(this, this, bX, bY)
202-
infix fun times_(b: Ulong) = times(this, this, b, b)
203-
infix fun times_(b: Long) = times(this, this, b, b)
204-
infix fun times_(b: Vec2ul) = times(this, this, b.x, b.y)
212+
fun timesAssign(bX: Ulong, bY: Ulong) = times(this, this, bX, bY)
213+
fun timesAssign(bX: Long, bY: Long) = times(this, this, bX, bY)
214+
infix operator fun timesAssign(b: Ulong) {
215+
times(this, this, b, b)
216+
}
217+
infix operator fun timesAssign(b: Long) {
218+
times(this, this, b, b)
219+
}
220+
infix operator fun timesAssign(b: Vec2ul) {
221+
times(this, this, b.x, b.y)
222+
}
205223

206224

207225
infix operator fun div(b: Ulong) = div(Vec2ul(), this, b, b)
@@ -218,11 +236,17 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
218236
fun div(b: Long, res: Vec2ul) = div(res, this, b, b)
219237
fun div(b: Vec2ul, res: Vec2ul) = div(res, this, b.x, b.y)
220238

221-
fun div_(bX: Ulong, bY: Ulong) = div(this, this, bX, bY)
222-
fun div_(bX: Long, bY: Long) = div(this, this, bX, bY)
223-
infix fun div_(b: Ulong) = div(this, this, b, b)
224-
infix fun div_(b: Long) = div(this, this, b, b)
225-
infix fun div_(b: Vec2ul) = div(this, this, b.x, b.y)
239+
fun divAssign(bX: Ulong, bY: Ulong) = div(this, this, bX, bY)
240+
fun divAssign(bX: Long, bY: Long) = div(this, this, bX, bY)
241+
infix operator fun divAssign(b: Ulong) {
242+
div(this, this, b, b)
243+
}
244+
infix operator fun divAssign(b: Long) {
245+
div(this, this, b, b)
246+
}
247+
infix operator fun divAssign(b: Vec2ul) {
248+
div(this, this, b.x, b.y)
249+
}
226250

227251

228252
infix operator fun rem(b: Ulong) = rem(Vec2ul(), this, b, b)
@@ -239,11 +263,17 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
239263
fun rem(b: Long, res: Vec2ul) = rem(res, this, b, b)
240264
fun rem(b: Vec2ul, res: Vec2ul) = rem(res, this, b.x, b.y)
241265

242-
fun rem_(bX: Ulong, bY: Ulong) = rem(this, this, bX, bY)
243-
fun rem_(bX: Long, bY: Long) = rem(this, this, bX, bY)
244-
infix fun rem_(b: Ulong) = rem(this, this, b, b)
245-
infix fun rem_(b: Long) = rem(this, this, b, b)
246-
infix fun rem_(b: Vec2ul) = rem(this, this, b.x, b.y)
266+
fun remAssign(bX: Ulong, bY: Ulong) = rem(this, this, bX, bY)
267+
fun remAssign(bX: Long, bY: Long) = rem(this, this, bX, bY)
268+
infix operator fun remAssign(b: Ulong) {
269+
rem(this, this, b, b)
270+
}
271+
infix operator fun remAssign(b: Long) {
272+
rem(this, this, b, b)
273+
}
274+
infix operator fun remAssign(b: Vec2ul) {
275+
rem(this, this, b.x, b.y)
276+
}
247277

248278

249279
// -- Generic binary arithmetic operators --
@@ -257,9 +287,13 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
257287
fun plus(b: Number, res: Vec2ul) = plus(res, this, b.L, b.L)
258288
fun plus(b: Vec2t<out Number>, res: Vec2ul) = plus(res, this, b.x.L, b.y.L)
259289

260-
fun plus_(bX: Number, bY: Number) = plus(this, this, bX.L, bY.L)
261-
infix fun plus_(b: Number) = plus(this, this, b.L, b.L)
262-
infix fun plus_(b: Vec2t<out Number>) = plus(this, this, b.x.L, b.y.L)
290+
fun plusAssign(bX: Number, bY: Number) = plus(this, this, bX.L, bY.L)
291+
infix operator fun plusAssign(b: Number) {
292+
plus(this, this, b.L, b.L)
293+
}
294+
infix operator fun plusAssign(b: Vec2t<out Number>) {
295+
plus(this, this, b.x.L, b.y.L)
296+
}
263297

264298

265299
infix operator fun minus(b: Number) = minus(Vec2ul(), this, b.L, b.L)
@@ -271,9 +305,13 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
271305
fun minus(b: Number, res: Vec2ul) = minus(res, this, b.L, b.L)
272306
fun minus(b: Vec2t<out Number>, res: Vec2ul) = minus(res, this, b.x.L, b.y.L)
273307

274-
fun minus_(bX: Number, bY: Number) = minus(this, this, bX.L, bY.L)
275-
infix fun minus_(b: Number) = minus(this, this, b.L, b.L)
276-
infix fun minus_(b: Vec2t<out Number>) = minus(this, this, b.x.L, b.y.L)
308+
fun minusAssign(bX: Number, bY: Number) = minus(this, this, bX.L, bY.L)
309+
infix operator fun minusAssign(b: Number) {
310+
minus(this, this, b.L, b.L)
311+
}
312+
infix operator fun minusAssign(b: Vec2t<out Number>) {
313+
minus(this, this, b.x.L, b.y.L)
314+
}
277315

278316

279317
infix operator fun times(b: Number) = times(Vec2ul(), this, b.L, b.L)
@@ -285,9 +323,13 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
285323
fun times(b: Number, res: Vec2ul) = times(res, this, b.L, b.L)
286324
fun times(b: Vec2t<out Number>, res: Vec2ul) = times(res, this, b.x.L, b.y.L)
287325

288-
fun times_(bX: Number, bY: Number) = times(this, this, bX.L, bY.L)
289-
infix fun times_(b: Number) = times(this, this, b.L, b.L)
290-
infix fun times_(b: Vec2t<out Number>) = times(this, this, b.x.L, b.y.L)
326+
fun timesAssign(bX: Number, bY: Number) = times(this, this, bX.L, bY.L)
327+
infix operator fun timesAssign(b: Number) {
328+
times(this, this, b.L, b.L)
329+
}
330+
infix operator fun timesAssign(b: Vec2t<out Number>) {
331+
times(this, this, b.x.L, b.y.L)
332+
}
291333

292334

293335
infix operator fun div(b: Number) = div(Vec2ul(), this, b.L, b.L)
@@ -299,9 +341,13 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
299341
fun div(b: Number, res: Vec2ul) = div(res, this, b.L, b.L)
300342
fun div(b: Vec2t<out Number>, res: Vec2ul) = div(res, this, b.x.L, b.y.L)
301343

302-
fun div_(bX: Number, bY: Number) = div(this, this, bX.L, bY.L)
303-
infix fun div_(b: Number) = div(this, this, b.L, b.L)
304-
infix fun div_(b: Vec2t<out Number>) = div(this, this, b.x.L, b.y.L)
344+
fun divAssign(bX: Number, bY: Number) = div(this, this, bX.L, bY.L)
345+
infix operator fun divAssign(b: Number) {
346+
div(this, this, b.L, b.L)
347+
}
348+
infix operator fun divAssign(b: Vec2t<out Number>) {
349+
div(this, this, b.x.L, b.y.L)
350+
}
305351

306352

307353
infix operator fun rem(b: Number) = rem(Vec2ul(), this, b.L, b.L)
@@ -313,9 +359,13 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
313359
fun rem(b: Number, res: Vec2ul) = rem(res, this, b.L, b.L)
314360
fun rem(b: Vec2t<out Number>, res: Vec2ul) = rem(res, this, b.x.L, b.y.L)
315361

316-
fun rem_(bX: Number, bY: Number) = rem(this, this, bX.L, bY.L)
317-
infix fun rem_(b: Number) = rem(this, this, b.L, b.L)
318-
infix fun rem_(b: Vec2t<out Number>) = rem(this, this, b.x.L, b.y.L)
362+
fun remAssign(bX: Number, bY: Number) = rem(this, this, bX.L, bY.L)
363+
infix operator fun remAssign(b: Number) {
364+
rem(this, this, b.L, b.L)
365+
}
366+
infix operator fun remAssign(b: Vec2t<out Number>) {
367+
rem(this, this, b.x.L, b.y.L)
368+
}
319369

320370

321371
// -- Specific bitwise operators --
@@ -333,11 +383,11 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
333383
@JvmOverloads
334384
fun and(bX: Long, bY: Long, res: Vec2ul = Vec2ul()) = and(res, this, bX, bY)
335385

336-
infix fun and_(b: Ulong) = and(this, this, b, b)
337-
infix fun and_(b: Long) = and(this, this, b, b)
338-
infix fun and_(b: Vec2ul) = and(this, this, b.x, b.y)
339-
fun and_(bX: Ulong, bY: Ulong) = and(this, this, bX, bY)
340-
fun and_(bX: Long, bY: Long) = and(this, this, bX, bY)
386+
infix fun andAssign(b: Ulong) = and(this, this, b, b)
387+
infix fun andAssign(b: Long) = and(this, this, b, b)
388+
infix fun andAssign(b: Vec2ul) = and(this, this, b.x, b.y)
389+
fun andAssign(bX: Ulong, bY: Ulong) = and(this, this, bX, bY)
390+
fun andAssign(bX: Long, bY: Long) = and(this, this, bX, bY)
341391

342392

343393
infix fun or(b: Ulong) = or(Vec2ul(), this, b, b)
@@ -353,11 +403,11 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
353403
@JvmOverloads
354404
fun or(bX: Long, bY: Long, res: Vec2ul = Vec2ul()) = or(res, this, bX, bY)
355405

356-
infix fun or_(b: Ulong) = or(this, this, b, b)
357-
infix fun or_(b: Long) = or(this, this, b, b)
358-
infix fun or_(b: Vec2ul) = or(this, this, b.x, b.y)
359-
fun or_(bX: Ulong, bY: Ulong) = or(this, this, bX, bY)
360-
fun or_(bX: Long, bY: Long) = or(this, this, bX, bY)
406+
infix fun orAssign(b: Ulong) = or(this, this, b, b)
407+
infix fun orAssign(b: Long) = or(this, this, b, b)
408+
infix fun orAssign(b: Vec2ul) = or(this, this, b.x, b.y)
409+
fun orAssign(bX: Ulong, bY: Ulong) = or(this, this, bX, bY)
410+
fun orAssign(bX: Long, bY: Long) = or(this, this, bX, bY)
361411

362412

363413
infix fun xor(b: Ulong) = xor(Vec2ul(), this, b, b)
@@ -373,11 +423,11 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
373423
@JvmOverloads
374424
fun xor(bX: Long, bY: Long, res: Vec2ul = Vec2ul()) = xor(res, this, bX, bY)
375425

376-
infix fun xor_(b: Ulong) = xor(this, this, b, b)
377-
infix fun xor_(b: Long) = xor(this, this, b, b)
378-
infix fun xor_(b: Vec2ul) = xor(this, this, b.x, b.y)
379-
fun xor_(bX: Ulong, bY: Ulong) = xor(this, this, bX, bY)
380-
fun xor_(bX: Long, bY: Long) = xor(this, this, bX, bY)
426+
infix fun xorAssign(b: Ulong) = xor(this, this, b, b)
427+
infix fun xorAssign(b: Long) = xor(this, this, b, b)
428+
infix fun xorAssign(b: Vec2ul) = xor(this, this, b.x, b.y)
429+
fun xorAssign(bX: Ulong, bY: Ulong) = xor(this, this, bX, bY)
430+
fun xorAssign(bX: Long, bY: Long) = xor(this, this, bX, bY)
381431

382432

383433
infix fun shl(b: Int) = shl(Vec2ul(), this, b, b)
@@ -386,8 +436,8 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
386436
@JvmOverloads
387437
fun shl(bX: Int, bY: Int, res: Vec2ul = Vec2ul()) = shl(res, this, bX, bY)
388438

389-
infix fun shl_(b: Int) = shl(this, this, b, b)
390-
fun shl_(bX: Int, bY: Int) = shl(this, this, bX, bY)
439+
infix fun shlAssign(b: Int) = shl(this, this, b, b)
440+
fun shlAssign(bX: Int, bY: Int) = shl(this, this, bX, bY)
391441

392442

393443
infix fun shr(b: Int) = shr(Vec2ul(), this, b, b)
@@ -396,14 +446,14 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
396446
@JvmOverloads
397447
fun shr(bX: Int, bY: Int, res: Vec2ul = Vec2ul()) = shr(res, this, bX, bY)
398448

399-
infix fun shr_(b: Int) = shr(this, this, b, b)
400-
fun shr_(bX: Int, bY: Int) = shr(this, this, bX, bY)
449+
infix fun shrAssign(b: Int) = shr(this, this, b, b)
450+
fun shrAssign(bX: Int, bY: Int) = shr(this, this, bX, bY)
401451

402452

403453
@JvmOverloads
404454
fun inv(res: Vec2ul = Vec2ul()) = inv(res, this)
405455

406-
fun inv_() = inv(this, this)
456+
fun invAssign() = inv(this, this)
407457

408458

409459
// -- Generic bitwise operators --
@@ -416,9 +466,9 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
416466
fun and(bX: Number, bY: Number, res: Vec2ul) = and(res, this, bX.L, bY.L)
417467
fun and(b: Vec2t<out Number>, res: Vec2ul) = and(res, this, b.x.L, b.y.L)
418468

419-
infix fun and_(b: Number) = and(this, this, b.L, b.L)
420-
fun and_(bX: Number, bY: Number) = and(this, this, bX.L, bY.L)
421-
infix fun and_(b: Vec2t<out Number>) = and(this, this, b.x.L, b.y.L)
469+
infix fun andAssign(b: Number) = and(this, this, b.L, b.L)
470+
fun andAssign(bX: Number, bY: Number) = and(this, this, bX.L, bY.L)
471+
infix fun andAssign(b: Vec2t<out Number>) = and(this, this, b.x.L, b.y.L)
422472

423473

424474
infix fun or(b: Number) = or(Vec2ul(), this, b.L, b.L)
@@ -429,9 +479,9 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
429479
fun or(bX: Number, bY: Number, res: Vec2ul) = or(res, this, bX.L, bY.L)
430480
fun or(b: Vec2t<out Number>, res: Vec2ul) = or(res, this, b.x.L, b.y.L)
431481

432-
infix fun or_(b: Number) = or(this, this, b.L, b.L)
433-
fun or_(bX: Number, bY: Number) = or(this, this, bX.L, bY.L)
434-
infix fun or_(b: Vec2t<out Number>) = or(this, this, b.x.L, b.y.L)
482+
infix fun orAssign(b: Number) = or(this, this, b.L, b.L)
483+
fun orAssign(bX: Number, bY: Number) = or(this, this, bX.L, bY.L)
484+
infix fun orAssign(b: Vec2t<out Number>) = or(this, this, b.x.L, b.y.L)
435485

436486

437487
infix fun xor(b: Number) = xor(Vec2ul(), this, b.L, b.L)
@@ -442,9 +492,9 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
442492
fun xor(bX: Number, bY: Number, res: Vec2ul) = xor(res, this, bX.L, bY.L)
443493
fun xor(b: Vec2t<out Number>, res: Vec2ul) = xor(res, this, b.x.L, b.y.L)
444494

445-
infix fun xor_(b: Number) = xor(this, this, b.L, b.L)
446-
fun xor_(bX: Number, bY: Number) = xor(this, this, bX.L, bY.L)
447-
infix fun xor_(b: Vec2t<out Number>) = xor(this, this, b.x.L, b.y.L)
495+
infix fun xorAssign(b: Number) = xor(this, this, b.L, b.L)
496+
fun xorAssign(bX: Number, bY: Number) = xor(this, this, bX.L, bY.L)
497+
infix fun xorAssign(b: Vec2t<out Number>) = xor(this, this, b.x.L, b.y.L)
448498

449499

450500
infix fun shl(b: Number) = shl(Vec2ul(), this, b.L, b.L)
@@ -453,8 +503,8 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
453503
fun shl(b: Number, res: Vec2ul) = shl(res, this, b.L, b.L)
454504
fun shl(bX: Number, bY: Number, res: Vec2ul) = shl(res, this, bX.L, bY.L)
455505

456-
infix fun shl_(b: Number) = shl(this, this, b.L, b.L)
457-
fun shl_(bX: Number, bY: Number) = shl(this, this, bX.L, bY.L)
506+
infix fun shlAssign(b: Number) = shl(this, this, b.L, b.L)
507+
fun shlAssign(bX: Number, bY: Number) = shl(this, this, bX.L, bY.L)
458508

459509

460510
infix fun shr(b: Number) = shr(Vec2ul(), this, b.L, b.L)
@@ -463,8 +513,8 @@ class Vec2ul(x: Ulong, y: Ulong) : Vec2t<Ulong>(x, y) {
463513
fun shr(b: Number, res: Vec2ul) = shr(res, this, b.L, b.L)
464514
fun shr(bX: Number, bY: Number, res: Vec2ul) = shr(res, this, bX.L, bY.L)
465515

466-
infix fun shr_(b: Number) = shr(this, this, b.L, b.L)
467-
fun shr_(bX: Number, bY: Number) = shr(this, this, bX.L, bY.L)
516+
infix fun shrAssign(b: Number) = shr(this, this, b.L, b.L)
517+
fun shrAssign(bX: Number, bY: Number) = shr(this, this, bX.L, bY.L)
468518

469519

470520
override fun equals(other: Any?) = other is Vec2ul && this[0] == other[0] && this[1] == other[1]

0 commit comments

Comments
 (0)