Skip to content

Commit

Permalink
spellcheck pass
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrkopac committed Jan 18, 2022
1 parent 6f6e4fc commit 3edab16
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion include/vsg/core/Data.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ namespace vsg
return false;
}

/// return true if Data's ModifiedCount is diffferent than the specified ModifiedCount
/// return true if Data's ModifiedCount is different than the specified ModifiedCount
bool differentModifiedCount(const ModifiedCount& mc) const { return _modifiedCount != mc; }

protected:
Expand Down
2 changes: 1 addition & 1 deletion include/vsg/core/Value.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ namespace vsg
}
}

/// convience function for getting a value from the first object with the named value, falling back to specififed defaultValue when none is available.
/// convenience function for getting a value from the first object with the named value, falling back to specified defaultValue when none is available.
/// usage: auto flag = vsg::value<bool>(false, "flag", object1);
/// usage: auto angle = vsg::value<float>(0.0f, "angle", object1, object2);
template<typename T, typename... Args>
Expand Down
4 changes: 2 additions & 2 deletions include/vsg/core/visit.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace vsg

/////////////////////////////////////////////////////////////////////////////////////////////////
//
// vsg::visit<> variants construct a Visitor and passs it to one or more objetcts accept() method
// vsg::visit<> variants construct a Visitor and pass it to one or more objects accept() method
//

/// helper function that default constructors visitor, calls accept() on each of the objects in specified range and returns the visitor so it can be queried for any results or reused.
Expand Down Expand Up @@ -84,7 +84,7 @@ namespace vsg

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// vsg::visit<> variants that passs an existing Visitor to one or more objetcts accept() method, returning a reference to the vistor
// vsg::visit<> variants that pass an existing Visitor to one or more objects accept() method, returning a reference to the visitor
//

/// helper function calls accept(visitor) on each of the objects in specified range and returns a reference to the visitor so it can be queried for any results or reused.
Expand Down
2 changes: 1 addition & 1 deletion include/vsg/io/Options.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ namespace vsg
};
VSG_type_name(vsg::Options);

/// convinience function that if a filename has a path, it duplicates the supplied Options object and prepends the path to the new Options::paths, otherwise returns the original Options object.
/// convenience function that if a filename has a path, it duplicates the supplied Options object and prepends the path to the new Options::paths, otherwise returns the original Options object.
extern VSG_DECLSPEC ref_ptr<const vsg::Options> prependPathToOptionsIfRequired(const vsg::Path& filename, ref_ptr<const vsg::Options> options);

} // namespace vsg
2 changes: 1 addition & 1 deletion include/vsg/maths/transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ namespace vsg
void apply(const Camera& camera) override;
};

/// convinience function for accumulating the transforms in scene graph along a specified nodePath.
/// convenience function for accumulating the transforms in scene graph along a specified nodePath.
template<typename T>
dmat4 computeTransform(const T& nodePath)
{
Expand Down
4 changes: 2 additions & 2 deletions include/vsg/traversals/ArrayState.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ namespace vsg
};
VSG_type_name(vsg::ArrayState);

/// NullArrayState provides a mechanism for geometry in a subgraph to be ignored by traverals that use ArrayState such as ComputeBounds/Intersection/LineSegmentIntersector
/// this is usefl for subgarphs that have custom shaders that move the final rendered geometry to a different place that would be nievely interpreted by a straight forward vec3Array vertex array in local coordinates.
/// NullArrayState provides a mechanism for geometry in a subgraph to be ignored by traversals that use ArrayState such as ComputeBounds/Intersection/LineSegmentIntersector
/// this is useful for subgraphs that have custom shaders that move the final rendered geometry to a different place that would be naively interpreted by a straight forward vec3Array vertex array in local coordinates.
/// To disable the handling of geometry in a subgraph simple assign a NullArrayState to the StateGroup::prototypeArrayState, i.e.
/// stateGroup->prototypeArrayState = vsg::NullArrayState::create();
class VSG_DECLSPEC NullArrayState : public Inherit<ArrayState, NullArrayState>
Expand Down
4 changes: 2 additions & 2 deletions src/vsg/state/BufferInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@ bool vsg::createBufferAndTransferData(Context& context, const BufferInfoList& bu
{
if (totalSize != deviceBufferInfo->range)
{
std::cout << "Exisitng deviceBufferInfo, " << deviceBufferInfo << ", deviceBufferInfo->range = " << deviceBufferInfo->range << ", " << totalSize << " NOT compatible" << std::endl;
std::cout << "Existing deviceBufferInfo, " << deviceBufferInfo << ", deviceBufferInfo->range = " << deviceBufferInfo->range << ", " << totalSize << " NOT compatible" << std::endl;
return false;
}
else
{
//std::cout<<"Exisitng deviceBufferInfo, "<<deviceBufferInfo<<", deviceBufferInfo->range = "<<deviceBufferInfo->range <<", "<<totalSize<<" with compatible size"<<std::endl;
//std::cout<<"Existing deviceBufferInfo, "<<deviceBufferInfo<<", deviceBufferInfo->range = "<<deviceBufferInfo->range <<", "<<totalSize<<" with compatible size"<<std::endl;

// make sure the VkBuffer is created
deviceBufferInfo->buffer->compile(context);
Expand Down

0 comments on commit 3edab16

Please sign in to comment.