Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-10-31 15:45:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-31 15:45:41 +0400
commitdb8b7fcabbb1a5af77038e5423b4ecbadbdefeda (patch)
tree989e09f13458cef22c35c33a658674a9c5cd2cc4 /intern/smoke
parent3406586d8829c60a420b26977e160ab53b26a833 (diff)
style cleanup and correct own invalid comment.
Diffstat (limited to 'intern/smoke')
-rw-r--r--intern/smoke/intern/smoke_API.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/smoke/intern/smoke_API.cpp b/intern/smoke/intern/smoke_API.cpp
index 3dce804c543..6011de0bddb 100644
--- a/intern/smoke/intern/smoke_API.cpp
+++ b/intern/smoke/intern/smoke_API.cpp
@@ -386,7 +386,7 @@ extern "C" float *smoke_turbulence_get_flame(WTURBULENCE *wt)
extern "C" void smoke_turbulence_get_res(WTURBULENCE *wt, int *res)
{
- if(wt) {
+ if (wt) {
Vec3Int r = wt->getResBig();
res[0] = r[0];
res[1] = r[1];
@@ -396,9 +396,9 @@ extern "C" void smoke_turbulence_get_res(WTURBULENCE *wt, int *res)
extern "C" int smoke_turbulence_get_cells(WTURBULENCE *wt)
{
- if(wt) {
+ if (wt) {
Vec3Int r = wt->getResBig();
- return r[0]*r[1]*r[2];
+ return r[0] * r[1] * r[2];
}
return 0;
}