Skip to content

Commit e079549

Browse files
committed
Misc. typos
Found via `codespell -q 3 -I ../OpenSubdiv-word-whitelist.txt` where whitelist consists of: ``` currenty lod uint ```
1 parent 91478f1 commit e079549

File tree

17 files changed

+30
-30
lines changed

17 files changed

+30
-30
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ SDKROOT=$(xcrun --sdk iphoneos --show-sdk-path) cmake -D NO_PTEX=1 -D NO_DOC=1 \
125125
..
126126
```
127127

128-
* This will produce an "OpenSubdiv.xcodeproj" that can be open and the targets 'mtlViewer' and 'mtlPtexViewer' (if NO_PTEX is ommitted and libPtex.a is installed in the iOS SDK) that can be run
128+
* This will produce an "OpenSubdiv.xcodeproj" that can be open and the targets 'mtlViewer' and 'mtlPtexViewer' (if NO_PTEX is omitted and libPtex.a is installed in the iOS SDK) that can be run
129129

130130
### Useful cmake options and environment variables
131131

documentation/OpenSubdiv.doxy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ HTML_STYLESHEET =
985985
# user-defined cascading style sheet that is included after the standard
986986
# style sheets created by doxygen. Using this option one can overrule
987987
# certain style aspects. This is preferred over using HTML_STYLESHEET
988-
# since it does not replace the standard style sheet and is therefor more
988+
# since it does not replace the standard style sheet and is therefore more
989989
# robust against future updates. Doxygen will copy the style sheet file to
990990
# the output directory.
991991

documentation/cmake_build.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ through the following environment variables:
138138
Automated Script
139139
________________
140140

141-
The GUI solution will probably become a burden for active developpers who tend to
141+
The GUI solution will probably become a burden for active developers who tend to
142142
re-run the configuration step fairly often. A scripted solution can save a lot of
143143
time. Here is a typical workflow:
144144

@@ -218,14 +218,14 @@ Using Intel's C++ Studio XE
218218
___________________________
219219

220220
OpenSubdiv can be also be built with `Intel's C++ compiler <http://software.intel.com/en-us/intel-compilers>`__
221-
(icc). The default compiler can be overriden in CMake with the following configuration options:
221+
(icc). The default compiler can be overridden in CMake with the following configuration options:
222222

223223
.. code:: c++
224224

225225
-DCMAKE_CXX_COMPILER=[path to icc executable]
226226
-DCMAKE_C_COMPILER=[path to icc executable]
227227

228-
The installation location of the C++ Studio XE can be overriden with:
228+
The installation location of the C++ Studio XE can be overridden with:
229229

230230
.. code:: c++
231231

@@ -235,7 +235,7 @@ The installation location of the C++ Studio XE can be overriden with:
235235
Using Clang
236236
___________
237237

238-
CMake can also be overriden to use the `clang <http://clang.llvm.org/>`__ compilers by configuring the following options:
238+
CMake can also be overridden to use the `clang <http://clang.llvm.org/>`__ compilers by configuring the following options:
239239

240240
.. code:: c++
241241

documentation/dxptexviewer.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ OPTIONS
8686
A ptex file containing RGB channels read as material albedo color.
8787

8888
*ptex displacement file*
89-
A single-channel ptex file (preferrably float precision) containing the
89+
A single-channel ptex file (preferably float precision) containing the
9090
displacement values.
9191

9292
*ptex occlusion file*
93-
A single-channel ptex file (preferrably 8 bits precision) containing a
93+
A single-channel ptex file (preferably 8 bits precision) containing a
9494
pre-computed ambient occlusion signal.
9595

9696
*ptex specular file*
97-
A single-channel ptex file (preferrably 8 bits precision) applied to modulate
97+
A single-channel ptex file (preferably 8 bits precision) applied to modulate
9898
the specular reflectance of the material
9999

100100
*objfile(s)*

documentation/osd_overview.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Cross-Platform Implementation
235235

236236
One of the key goals of OpenSubdiv is to achieve as much cross-platform flexibility
237237
as possible and leverage all optimized hardware paths where available. This can
238-
be very challenging as there is a very large variety of plaftorms and APIs
238+
be very challenging as there is a very large variety of platforms and APIs
239239
available, with very distinct capabilities.
240240

241241
In **Osd**, Evaluators don't care about interops between those APIs. All Evaluators

documentation/release_notes_2x.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Release 2.6.0
6060
- Fix a bug in the CUDA computeRestrictedEdge kernel
6161
- Fix duplicate variables with identical name
6262
- Fix osdutil build errors
63-
- Fix cmake diagnostic messsage
63+
- Fix cmake diagnostic message
6464

6565
Release 2.5.1
6666
=============
@@ -103,7 +103,7 @@ Release 2.5.0
103103
Moved transient states (current vertex buffer etc) to controller
104104
- Fix adaptive isolation of sharp corner vertices
105105
- Fix incorrect FarMeshFactory logic for isolating multiple corner vertices in corner patches
106-
- Change EvalLimit Gregory patch kernels to the large weights table to accomodate higher valences
106+
- Change EvalLimit Gregory patch kernels to the large weights table to accommodate higher valences
107107
- Fix calculation of screen space LOD tess factors for transition corner patches.
108108
- Add a public constructor to OsdMesh
109109
- Decrease compiler warning thresholds and fix outstanding warnings
@@ -203,7 +203,7 @@ Release 2.3.5
203203
**New Features**
204204
- Add the ability to read obj files to the dxViewer example
205205
- Add screen-capture function to ptexViewer
206-
- Update documention for Xcode builds
206+
- Update documentation for Xcode builds
207207
- Add documentation (boundary interpolation rules and face-varying boundary interpolation rules)
208208

209209
**Changes**
@@ -324,7 +324,7 @@ Release 2.3.1
324324
- Optimize a bit of ptex mipmap lookup.
325325
- Show ptex memory usage in GL and DX11 ptexViewers
326326
- Improve ptex guttering
327-
- Addding some video links to our collection of external resources
327+
- Adding some video links to our collection of external resources
328328

329329
**Bug Fixes**
330330
- Fix edge-only face-varying interpolation
@@ -448,7 +448,7 @@ Release 1.2.4
448448
**New Features**
449449

450450
- Adding support for fractional tessellation of patches
451-
- Adding a much needed API documention system based on Docutils RST markup
451+
- Adding a much needed API documentation system based on Docutils RST markup
452452
- Adding support for face-varying interpolation in GLSL APIs
453453
- Adding varying data buffers to OsdMesh
454454
- Adding accessors to the vertex buffers in OsdGlMesh
@@ -496,7 +496,7 @@ Release 1.2.3
496496
- Face-varying data bug fixes : making sure the data is carried around appropriately
497497
Fixes for OpenCL use with the new batching APIs
498498
- GLSL general shader code cleanup & fixes for better portability
499-
- GLSL Tranform Feedback initialization fix
499+
- GLSL Transform Feedback initialization fix
500500
- Critical fix for FarMultiMesh batching (indexing was incorrect)
501501
- Fix osdutil CL implementation (protect #includes on systems with no OpenCL SDK
502502
installed)

examples/common/clDeviceContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ CLDeviceContext::Initialize() {
220220
0, NULL, &devicesSize);
221221
int numDevices = int(devicesSize / sizeof(cl_device_id));
222222
if (numDevices == 0) {
223-
error("No sharable devices.\n");
223+
error("No shareable devices.\n");
224224
return false;
225225
}
226226
cl_device_id *clDevices = new cl_device_id[numDevices];

examples/dxPtexViewer/dxPtexViewer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1914,7 +1914,7 @@ void usage(const char *program) {
19141914
printf(" -y : Y-up model\n");
19151915
printf(" -m level : max mimmap level (default=10)\n");
19161916
printf(" -x <ptex limit MB> : ptex target memory size\n");
1917-
printf(" --disp <scale> : Displacment scale\n");
1917+
printf(" --disp <scale> : Displacement scale\n");
19181918
}
19191919

19201920
//------------------------------------------------------------------------------

opensubdiv/far/sparseMatrix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ namespace Far {
4646
// format (CSR) is used as it provides us with stencils for points that
4747
// correspond to rows and so can be more directly and efficiently copied.
4848
//
49-
// It has potential for other uses and so may eventually warrant a seperate
49+
// It has potential for other uses and so may eventually warrant a separate
5050
// header file of its own. For now, in keeping with the trend of exposing
5151
// classes only where used, it is defined with the PatchBuilder.
5252
//

opensubdiv/far/topologyRefiner.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ namespace internal {
291291
FeatureMask() { Clear(); }
292292
FeatureMask(Options const & options, Sdc::SchemeType sType) { Clear(); InitializeFeatures(options, sType); }
293293

294-
// These are the two primary methods intended for use -- intialization via a set of Options
294+
// These are the two primary methods intended for use -- initialization via a set of Options
295295
// and reduction of the subsequent feature set (which presumes prior initialization with the
296296
// same set as give)
297297
//
@@ -326,7 +326,7 @@ namespace internal {
326326
//
327327
// The inf-sharp single-crease case now corresponds to an inf-sharp regular crease
328328
// in the interior -- and since such regular creases on the boundary are never
329-
// considered for selection (just as interior smoot regular faces are not), this
329+
// considered for selection (just as interior smooth regular faces are not), this
330330
// feature is only relevant for the interior case. So aside from it being used
331331
// when regular inf-sharp features are all selected, it can also be used for the
332332
// single-crease case.
@@ -508,7 +508,7 @@ namespace {
508508
// Strictly speaking we should be testing all features and not returning based on
509509
// the selection status of the most likely feature that warrants selection, but in
510510
// practice, the separation of features and the typically common settings to groups
511-
// of features (i.e. it not yet possible, or even desireable, to select irregular
511+
// of features (i.e. it not yet possible, or even desirable, to select irregular
512512
// creases deeper than irregular corners) makes that unnecessary.
513513
//
514514
inline bool

0 commit comments

Comments
 (0)