Skip to content

Commit

Permalink
Use vec_printers.h in DebugLocation test
Browse files Browse the repository at this point in the history
  • Loading branch information
nv-rthomson committed Mar 28, 2024
1 parent e07afe1 commit c0d54cd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/TestDebugLocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include <OptiXToolkit/OptiXMemory/Builders.h>
#include <OptiXToolkit/OptiXMemory/SyncRecord.h>
#include <OptiXToolkit/ShaderUtil/vec_math.h>
#include <OptiXToolkit/ShaderUtil/vec_printers.h>

#include <gtest/gtest.h>

Expand All @@ -58,11 +59,6 @@
#define optixModuleCreate optixModuleCreateFromPTX
#endif

void PrintTo( const float3& value, std::ostream* stream )
{
*stream << "float3(" << value.x << ", " << value.y << ", " << value.z << ')';
}

using namespace otk::shaderUtil::testing;

#if OPTIX_VERSION < 70700
Expand Down

0 comments on commit c0d54cd

Please sign in to comment.