Skip to content

Commit aef3050

Browse files
ghurstunitherapradhana
authored andcommitted
trailing spaces
Fixes trailingspaces errors Signed-off-by: ghurstunither <[email protected]>
1 parent b6f66d9 commit aef3050

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

openvdb/openvdb/tools/LevelSetFilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ LevelSetFilter<GridT, MaskT, InterruptT>::Filter::offsetImpl(
435435
mParent->maxMask(), mParent->isMaskInverted());
436436
for (LeafIterT leafIter=range.begin(); leafIter; ++leafIter) {
437437
for (VoxelIterT iter = leafIter->beginValueOn(); iter; ++iter) {
438-
if (alpha(iter.getCoord(), a, b))
438+
if (alpha(iter.getCoord(), a, b))
439439
iter.setValue(ComputeType(*iter) + a*offset);
440440
}
441441
}

openvdb/openvdb/tools/RayTracer.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ class MatteShader: public BaseShader
550550
Film::RGBA operator()(const Vec3R& xyz, const Vec3R&, const Vec3R&) const override
551551
{
552552
using RealT = Film::RGBA::ValueT;
553-
553+
554554
typename GridT::ValueType v = zeroVal<typename GridT::ValueType>();
555555
SamplerType::sample(mAcc, mXform->worldToIndex(xyz), v);
556556
return Film::RGBA(RealT(v[0]), RealT(v[1]), RealT(v[2]));
@@ -599,7 +599,7 @@ class NormalShader: public BaseShader
599599
Film::RGBA operator()(const Vec3R& xyz, const Vec3R& normal, const Vec3R&) const override
600600
{
601601
using RealT = Film::RGBA::ValueT;
602-
602+
603603
typename GridT::ValueType v = zeroVal<typename GridT::ValueType>();
604604
SamplerType::sample(mAcc, mXform->worldToIndex(xyz), v);
605605
return Film::RGBA(RealT(v[0])*(normal[0]+1.0),
@@ -656,7 +656,7 @@ class PositionShader: public BaseShader
656656
Film::RGBA operator()(const Vec3R& xyz, const Vec3R&, const Vec3R&) const override
657657
{
658658
using RealT = Film::RGBA::ValueT;
659-
659+
660660
typename GridT::ValueType v = zeroVal<typename GridT::ValueType>();
661661
SamplerType::sample(mAcc, mXform->worldToIndex(xyz), v);
662662
const Vec3R rgb = (xyz - mMin) * mInvDim;
@@ -713,7 +713,7 @@ class DiffuseShader: public BaseShader
713713
Film::RGBA operator()(const Vec3R& xyz, const Vec3R& normal, const Vec3R& rayDir) const override
714714
{
715715
using RealT = Film::RGBA::ValueT;
716-
716+
717717
typename GridT::ValueType v = zeroVal<typename GridT::ValueType>();
718718
SamplerType::sample(mAcc, mXform->worldToIndex(xyz), v);
719719
// We take the abs of the dot product corresponding to having

openvdb/openvdb/tools/VolumeAdvect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ struct VolumeAdvection<VelocityGridT, StaggeredVelocity, InterrupterType>::Advec
474474
} else {
475475
for (VoxelIterT voxelIter = leafIter->beginValueOn(); voxelIter; ++voxelIter) {
476476
const Index i = voxelIter.pos();
477-
out0[i] = RealT(0.5)*(
477+
out0[i] = RealT(0.5)*(
478478
RealT(3)*ComputeT(acc.getValue(voxelIter.getCoord())) - ComputeT(out1[i]));
479479
}//loop over active voxels
480480
}

0 commit comments

Comments
 (0)