Skip to content

Commit

Permalink
correct typos
Browse files Browse the repository at this point in the history
  • Loading branch information
alhirzel authored and Speierers committed Mar 29, 2021
1 parent ab5a49d commit e1c0928
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/src/advanced_topics/custom_plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ In this example, we will implement a simple diffuse BSDF in Python by extending
the :code:`BSDF` base class. The code is very similar to the diffuse BSDF
implemented in C++ (in :code:`src/bsdf/diffuse.cpp`).

The BSDF class need to implement the following 3 methods: :code:`sample`,
The BSDF class needs to implement the following 3 methods: :code:`sample`,
:code:`eval` and :code:`pdf`:

.. literalinclude:: ../../examples/04_diffuse_bsdf/diffuse_bsdf.py
Expand Down
2 changes: 1 addition & 1 deletion docs/src/python_interface/parsing_xml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ A more convinient way of constructing Mitsuba objects in Python is to use
should follow a structure similar to the XML structure used for the Mitsuba scene description.

The dictionary should always contain an entry ``"type"`` to specify the name of the plugin to
be instanciated. Keys of the dictionary must be strings and will represent the name of the
be instantiated. Keys of the dictionary must be strings and will represent the name of the
properties. The type of the property will be deduced from the Python type for simple
types (e.g. ``bool``, ``float``, ``int``, ``string``, ...). It is possible to provide another dictionary as
the value of an entry. This can be used to create nested objects, as in the XML scene description.
Expand Down
2 changes: 1 addition & 1 deletion src/integrators/aov.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Arbitrary Output Variables integrator (:monosp:`aov`)
respective output will be put into distinct images.
This integrator returns one or more AOVs (Arbitraty Output Variables) describing the visible
This integrator returns one or more AOVs (Arbitrary Output Variables) describing the visible
surfaces.
.. subfigstart::
Expand Down
2 changes: 1 addition & 1 deletion src/libcore/python/xml_v.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ ref<Object> load_dict(const py::dict &dict, std::map<std::string, ref<Object>> &
}

// Nested dict with type == "ref" specify a reference to another
// object previously instanciated
// object previously instantiated
if (type2 == "ref") {
if (is_scene)
Throw("Reference found at the scene level: %s", key);
Expand Down
2 changes: 1 addition & 1 deletion src/shapes/instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ details on how to create instances, refer to the :ref:`shape-shapegroup` plugin.
:width: 100%
:align: center
The Stanford bunny loaded a single time and instanciated 1365 times (equivalent to 100 million
The Stanford bunny loaded a single time and instantiated 1365 times (equivalent to 100 million
triangles)
.. warning::
Expand Down

0 comments on commit e1c0928

Please sign in to comment.