Ejemplo n.º 1
0
 public float this[int row, int col]
 {
     get { return(Invoke.eigen_matrix4_f_getIndex(_ptr, row, col)); }
     set { Invoke.eigen_matrix4_f_setIndex(_ptr, row, col, value); }
 }
Ejemplo n.º 2
0
 protected override void DisposeObject()
 {
     Invoke.eigen_matrix4_f_delete(ref _ptr);
 }
Ejemplo n.º 3
0
 protected override void DisposeObject()
 {
     Invoke.eigen_vectorx_f_delete(ref _ptr);
 }
Ejemplo n.º 4
0
 public Matrix4f()
 {
     _ptr = Invoke.eigen_matrix4_f_ctor();
 }
Ejemplo n.º 5
0
 public float this[int i]
 {
     get { return(Invoke.eigen_vectorx_f_getIndex(_ptr, i)); }
     set { Invoke.eigen_vectorx_f_setIndex(_ptr, i, value); }
 }
Ejemplo n.º 6
0
 public void Normalize()
 => Invoke.eigen_vectorx_f_normalize(_ptr);
Ejemplo n.º 7
0
 public void Resize(int count)
 => Invoke.eigen_vectorx_f_resize(_ptr, count);
Ejemplo n.º 8
0
 public VectorXf(int count)
 {
     _ptr = Invoke.eigen_vectorx_f_ctor(count);
 }
Ejemplo n.º 9
0
 public VectorXf()
 {
     _ptr = Invoke.eigen_vectorx_f_ctor(0);
 }