  pos = add(pos, mul(updir, 1.f));
  HIGAN_LOGi("pos ");
  printfloat3(pos);
  REQUIRE(pos.y > 0);

  float4x4 rotmat = math::rotationMatrixLH(direction);
  HIGAN_LOGi("\nmatrix\n");
  printfloat4(rotmat.row(0));
  printfloat4(rotmat.row(1));
  printfloat4(rotmat.row(2));
  printfloat4(rotmat.row(3));

  float4 pos2{};

  pos2 = mul(float4(0,0,1,1), rotmat).row(0);