@@ -23,7 +23,7 @@ namespace Forth
2323
2424 Vector4 ex, ey, ez, ew;
2525
26- Matrix4 () { ex = Vector4 (); ey = Vector4 (); ez = Vector4 (); ew = Vector4 (); }
26+ Matrix4 (void ) { ex = Vector4 (); ey = Vector4 (); ez = Vector4 (); ew = Vector4 (); }
2727
2828 Matrix4 (const Vector4& _diag)
2929 {
@@ -39,12 +39,12 @@ namespace Forth
3939 Matrix4 (float a, float b, float c, float d, float e, float f, float g, float h, float i, float j, float k, float l, float m, float n, float o, float p)
4040 : ex(a, b, c, d), ey(e,f,g,h), ez(i,j,k,l), ew(m,n,o,p) { }
4141
42- Vector4& operator [](int i)
42+ inline Vector4& operator [](int i)
4343 {
4444 return (&ex)[i];
4545 }
4646
47- Vector4 operator [](int i) const
47+ inline Vector4 operator [](int i) const
4848 {
4949 return (&ex)[i];
5050 }
@@ -54,12 +54,12 @@ namespace Forth
5454 return Vector4 (ex[i], ey[i], ez[i], ew[i]);
5555 }
5656
57- const Vector4 Column0 () const
57+ const Vector4 Column0 (void ) const
5858 {
5959 return Vector4 (ex.x , ey.x , ez.x , ew.x );
6060 }
6161
62- const Vector4 Column1 () const
62+ const Vector4 Column1 (void ) const
6363 {
6464 return Vector4 (ex.y , ey.y , ez.y , ew.y );
6565 }
@@ -154,7 +154,7 @@ namespace Forth
154154 // / <summary>
155155 // / Get a 4x4 identity matrix
156156 // / </summary>
157- static Matrix4 identity ()
157+ static Matrix4 identity (void )
158158 {
159159 Matrix4 m = Matrix4 ();
160160 m.ex .x = m.ey .y = m.ez .z = m.ew .w = 1 ;
@@ -163,7 +163,7 @@ namespace Forth
163163
164164 private:
165165
166- void Transpose ()
166+ void Transpose (void )
167167 {
168168 float tmp;
169169 SWAP (ex.y , ey.x , tmp);
0 commit comments