Skip to content

Commit

Permalink
Comment typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ehainesnv committed Sep 26, 2019
1 parent 3ddca0c commit a20006f
Show file tree
Hide file tree
Showing 24 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion example01_helloOptix/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace osc {
}


/*! main entry point to this example - initialy optix, print hello
/*! main entry point to this example - initially optix, print hello
world, then exit */
extern "C" int main(int ac, char **av)
{
Expand Down
2 changes: 1 addition & 1 deletion example02_pipelineAndRayGen/SampleRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ namespace osc {
buildSBT();

launchParamsBuffer.alloc(sizeof(launchParams));
std::cout << "#osc: context, module, pipline, etc, all set up ..." << std::endl;
std::cout << "#osc: context, module, pipeline, etc, all set up ..." << std::endl;

std::cout << GDT_TERMINAL_GREEN;
std::cout << "#osc: Optix 7 Sample fully set up" << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion example02_pipelineAndRayGen/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/*! \namespace osc - Optix Siggraph Course */
namespace osc {

/*! main entry point to this example - initialy optix, print hello
/*! main entry point to this example - initially optix, print hello
world, then exit */
extern "C" int main(int ac, char **av)
{
Expand Down
2 changes: 1 addition & 1 deletion example03_inGLFWindow/SampleRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ namespace osc {
buildSBT();

launchParamsBuffer.alloc(sizeof(launchParams));
std::cout << "#osc: context, module, pipline, etc, all set up ..." << std::endl;
std::cout << "#osc: context, module, pipeline, etc, all set up ..." << std::endl;

std::cout << GDT_TERMINAL_GREEN;
std::cout << "#osc: Optix 7 Sample fully set up" << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion example03_inGLFWindow/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ namespace osc {
};


/*! main entry point to this example - initialy optix, print hello
/*! main entry point to this example - initially optix, print hello
world, then exit */
extern "C" int main(int ac, char **av)
{
Expand Down
2 changes: 1 addition & 1 deletion example04_firstTriangleMesh/SampleRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ namespace osc {
buildSBT();

launchParamsBuffer.alloc(sizeof(launchParams));
std::cout << "#osc: context, module, pipline, etc, all set up ..." << std::endl;
std::cout << "#osc: context, module, pipeline, etc, all set up ..." << std::endl;

std::cout << GDT_TERMINAL_GREEN;
std::cout << "#osc: Optix 7 Sample fully set up" << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion example04_firstTriangleMesh/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ namespace osc {
};


/*! main entry point to this example - initialy optix, print hello
/*! main entry point to this example - initially optix, print hello
world, then exit */
extern "C" int main(int ac, char **av)
{
Expand Down
2 changes: 1 addition & 1 deletion example05_firstSBTData/SampleRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ namespace osc {
buildSBT();

launchParamsBuffer.alloc(sizeof(launchParams));
std::cout << "#osc: context, module, pipline, etc, all set up ..." << std::endl;
std::cout << "#osc: context, module, pipeline, etc, all set up ..." << std::endl;

std::cout << GDT_TERMINAL_GREEN;
std::cout << "#osc: Optix 7 Sample fully set up" << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion example05_firstSBTData/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ namespace osc {
};


/*! main entry point to this example - initialy optix, print hello
/*! main entry point to this example - initially optix, print hello
world, then exit */
extern "C" int main(int ac, char **av)
{
Expand Down
2 changes: 1 addition & 1 deletion example06_multipleObjects/SampleRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ namespace osc {
buildSBT();

launchParamsBuffer.alloc(sizeof(launchParams));
std::cout << "#osc: context, module, pipline, etc, all set up ..." << std::endl;
std::cout << "#osc: context, module, pipeline, etc, all set up ..." << std::endl;

std::cout << GDT_TERMINAL_GREEN;
std::cout << "#osc: Optix 7 Sample fully set up" << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion example06_multipleObjects/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ namespace osc {
};


/*! main entry point to this example - initialy optix, print hello
/*! main entry point to this example - initially optix, print hello
world, then exit */
extern "C" int main(int ac, char **av)
{
Expand Down
2 changes: 1 addition & 1 deletion example07_firstRealModel/Model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ namespace osc {
}
}

// of course, you shold be using tbb::parallel_for for stuff
// of course, you should be using tbb::parallel_for for stuff
// like this:
for (auto mesh : model->meshes)
for (auto vtx : mesh->vertex)
Expand Down
2 changes: 1 addition & 1 deletion example07_firstRealModel/SampleRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ namespace osc {
buildSBT();

launchParamsBuffer.alloc(sizeof(launchParams));
std::cout << "#osc: context, module, pipline, etc, all set up ..." << std::endl;
std::cout << "#osc: context, module, pipeline, etc, all set up ..." << std::endl;

std::cout << GDT_TERMINAL_GREEN;
std::cout << "#osc: Optix 7 Sample fully set up" << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion example07_firstRealModel/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ namespace osc {
};


/*! main entry point to this example - initialy optix, print hello
/*! main entry point to this example - initially optix, print hello
world, then exit */
extern "C" int main(int ac, char **av)
{
Expand Down
4 changes: 2 additions & 2 deletions example08_addingTextures/Model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ namespace osc {
texture->resolution = res;
texture->pixel = (uint32_t*)image;

/* iw - actually, it seems that stbi loads the picutures
/* iw - actually, it seems that stbi loads the pictures
mirrored along the y axis - mirror them here */
for (int y=0;y<res.y/2;y++) {
uint32_t *line_y = texture->pixel + y * res.x;
Expand Down Expand Up @@ -203,7 +203,7 @@ namespace osc {
}
}

// of course, you shold be using tbb::parallel_for for stuff
// of course, you should be using tbb::parallel_for for stuff
// like this:
for (auto mesh : model->meshes)
for (auto vtx : mesh->vertex)
Expand Down
2 changes: 1 addition & 1 deletion example08_addingTextures/SampleRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ namespace osc {
buildSBT();

launchParamsBuffer.alloc(sizeof(launchParams));
std::cout << "#osc: context, module, pipline, etc, all set up ..." << std::endl;
std::cout << "#osc: context, module, pipeline, etc, all set up ..." << std::endl;

std::cout << GDT_TERMINAL_GREEN;
std::cout << "#osc: Optix 7 Sample fully set up" << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion example08_addingTextures/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ namespace osc {
};


/*! main entry point to this example - initialy optix, print hello
/*! main entry point to this example - initially optix, print hello
world, then exit */
extern "C" int main(int ac, char **av)
{
Expand Down
4 changes: 2 additions & 2 deletions example09_shadowRays/Model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ namespace osc {
texture->resolution = res;
texture->pixel = (uint32_t*)image;

/* iw - actually, it seems that stbi loads the picutures
/* iw - actually, it seems that stbi loads the pictures
mirrored along the y axis - mirror them here */
for (int y=0;y<res.y/2;y++) {
uint32_t *line_y = texture->pixel + y * res.x;
Expand Down Expand Up @@ -203,7 +203,7 @@ namespace osc {
}
}

// of course, you shold be using tbb::parallel_for for stuff
// of course, you should be using tbb::parallel_for for stuff
// like this:
for (auto mesh : model->meshes)
for (auto vtx : mesh->vertex)
Expand Down
2 changes: 1 addition & 1 deletion example09_shadowRays/SampleRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ namespace osc {
buildSBT();

launchParamsBuffer.alloc(sizeof(launchParams));
std::cout << "#osc: context, module, pipline, etc, all set up ..." << std::endl;
std::cout << "#osc: context, module, pipeline, etc, all set up ..." << std::endl;

std::cout << GDT_TERMINAL_GREEN;
std::cout << "#osc: Optix 7 Sample fully set up" << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion example09_shadowRays/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ namespace osc {
};


/*! main entry point to this example - initialy optix, print hello
/*! main entry point to this example - initially optix, print hello
world, then exit */
extern "C" int main(int ac, char **av)
{
Expand Down
4 changes: 2 additions & 2 deletions example10_softShadows/Model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ namespace osc {
texture->resolution = res;
texture->pixel = (uint32_t*)image;

/* iw - actually, it seems that stbi loads the picutures
/* iw - actually, it seems that stbi loads the pictures
mirrored along the y axis - mirror them here */
for (int y=0;y<res.y/2;y++) {
uint32_t *line_y = texture->pixel + y * res.x;
Expand Down Expand Up @@ -203,7 +203,7 @@ namespace osc {
}
}

// of course, you shold be using tbb::parallel_for for stuff
// of course, you should be using tbb::parallel_for for stuff
// like this:
for (auto mesh : model->meshes)
for (auto vtx : mesh->vertex)
Expand Down
2 changes: 1 addition & 1 deletion example10_softShadows/SampleRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ namespace osc {
buildSBT();

launchParamsBuffer.alloc(sizeof(launchParams));
std::cout << "#osc: context, module, pipline, etc, all set up ..." << std::endl;
std::cout << "#osc: context, module, pipeline, etc, all set up ..." << std::endl;

std::cout << GDT_TERMINAL_GREEN;
std::cout << "#osc: Optix 7 Sample fully set up" << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion example10_softShadows/devicePrograms.cu
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace osc {
optixLaunch) */
extern "C" __constant__ LaunchParams optixLaunchParams;

/*! per-ray data now captures random numebr generator, so programs
/*! per-ray data now captures random number generator, so programs
can access RNG state */
struct PRD {
Random random;
Expand Down
2 changes: 1 addition & 1 deletion example10_softShadows/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ namespace osc {
};


/*! main entry point to this example - initialy optix, print hello
/*! main entry point to this example - initially optix, print hello
world, then exit */
extern "C" int main(int ac, char **av)
{
Expand Down

0 comments on commit a20006f

Please sign in to comment.