commit f8156070b2c34631b1912763ad4f4498be653d2f
parent 3848c49d4beb04a8d8e6d7b027fe18f52dc18ea6
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 8 Jul 2016 17:46:01 +0200
Make the file extensions consistent
Rename the only cpp file in c file. Anyway, maybe all source files should
have the "cpp" extension since actually they are C++ files.
Diffstat:
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -73,7 +73,7 @@ set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
set(SSP_FILES_SRC
ssp_rng.c
ssp_rng_proxy.c
- ssp_distributions.cpp)
+ ssp_distributions.c)
set(SSP_FILES_INC
ssp_rng_c.h)
set(SSP_FILES_INC_API
diff --git a/src/ssp.h b/src/ssp.h
@@ -526,8 +526,8 @@ ssp_ran_sphere_hg_local_pdf(const double g, const float sample[3])
*pow(epsilon_g*epsilon_g+2*epsilon_mu*(1-epsilon_g),-1.5));
}
-/* Henyey-Greenstein sampling of an unit sphere for an incident direction
- * that is implicitly the Z axis.
+/* Henyey-Greenstein sampling of an unit sphere for an incident direction
+ * that is implicitly the Z axis.
* The PDF of the generated sample is stored in sample[3] */
static INLINE float*
ssp_ran_sphere_hg_local(struct ssp_rng* rng, const double g, float sample[4])
@@ -566,7 +566,7 @@ ssp_ran_sphere_hg_pdf(const float up[3], const double g, const float sample[3])
}
/* Henyey-Greenstein sampling of an unit sphere for an incident direction
- * that is `up'.
+ * that is `up'.
* The PDF of the generated sample is stored in sample[3] */
static INLINE float*
ssp_ran_sphere_hg
diff --git a/src/ssp_distributions.cpp b/src/ssp_distributions.c