Fix messages.
This commit is contained in:
parent
8871fefe89
commit
acc02abaf1
@ -82,7 +82,7 @@ static FloatImage * createNormalMap(const FloatImage * img, FloatImage::WrapMode
|
||||
nvDebugCheck(kdv != NULL);
|
||||
nvDebugCheck(img != NULL);
|
||||
|
||||
#pragma message(NV_FILE_LINE "Height scale parameter should go away. It should be a sensible value that produces good results when the heightmap is in the [0, 1] range.")
|
||||
#pragma message(NV_FILE_LINE "FIXME: Height scale parameter should go away. It should be a sensible value that produces good results when the heightmap is in the [0, 1] range.")
|
||||
const float heightScale = 1.0f / 16.0f;
|
||||
|
||||
const uint w = img->width();
|
||||
@ -198,7 +198,7 @@ void nv::normalizeNormalMap(FloatImage * img)
|
||||
{
|
||||
nvDebugCheck(img != NULL);
|
||||
|
||||
#pragma messsage(NV_FILE_LINE "Pack and expand normals explicitly")
|
||||
#pragma message(NV_FILE_LINE "TODO: Pack and expand normals explicitly")
|
||||
|
||||
img->expandNormals(0);
|
||||
img->normalize(0);
|
||||
|
Loading…
Reference in New Issue
Block a user