Skip to content

Commit 03a51c5

Browse files
committed
oops
1 parent 30f558b commit 03a51c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/vector_math/matrix4.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ class Matrix4 {
691691
}
692692

693693
/// Translate this matrix by x, y, z, w.
694-
void translateByDouble(double tx, double ty, double tz, [double tw = 1.0]) {
694+
void translateByDouble(double tx, double ty, double tz, double tw) {
695695
final t1 = _m4storage[0] * tx +
696696
_m4storage[4] * ty +
697697
_m4storage[8] * tz +

lib/src/vector_math_64/matrix4.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ class Matrix4 {
691691
}
692692

693693
/// Translate this matrix by x, y, z, w.
694-
void translateByDouble(double tx, double ty, double tz, [double tw = 1.0]) {
694+
void translateByDouble(double tx, double ty, double tz, double tw) {
695695
final t1 = _m4storage[0] * tx +
696696
_m4storage[4] * ty +
697697
_m4storage[8] * tz +

0 commit comments

Comments
 (0)