Skip to content

Commit 2142ac6

Browse files
Merge pull request #18 from Vic-Min/master
Typo fixes
2 parents b8b49e3 + 9500bf6 commit 2142ac6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

1_SettingTheScene/VulkanSceneGraphLibrary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class AnotherClass
9696
{
9797
public:
9898
void setValue(float v) { _value = v; ++_modifiedCount; }
99-
float getValue() const { return _value = v;}
99+
float getValue() const { return _value;}
100100

101101
int getModifiedCount() const { return _modifiedCount; }
102102

2_Foundations/MathFunctions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ osg::Vec3d osg_dash = osg_vec * matrix;
7878
vsg::dvec3 vsg_vec;
7979
vsg::dmat4 vsg_matrix;
8080
vsg_matrix(column, row) = value;
81-
vsg::dvec3 vsg_dask = matrix * vsg_vec
81+
vsg::dvec3 vsg_dash = matrix * vsg_vec
8282
~~~
8383
8484
The OpenSceneGraph also implements the dot product and cross product functions as * and ^ operators while the VulkanSceneGraph follows GLSL's convention of using [dot](https://registry.khronos.org/OpenGL-Refpages/gl4/html/dot.xhtml) and [cross](https://registry.khronos.org/OpenGL-Refpages/gl4/html/cross.xhtml) functions.

2_Foundations/MathTypes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The prefix of the type describes the numerical type, the mappings are:
3838
| ub | unsigned byte | std::uint8_t | vsg::ubvec4 |
3939
| s | signed short | std::int16_t | vsg::svec2 |
4040
| us | unsigned short | std::uint16_t | vsg::usvec2 |
41-
| i | signed int | std::int32_t | vsg::vec3 |
41+
| i | signed int | std::int32_t | vsg::ivec3 |
4242
| ui | unsigned int | std::uint32_t | vsg::uivec3 |
4343

4444
## Vectors
@@ -155,4 +155,4 @@ std::cout<<"bounding_box min = ("<<bounding_box.min<<"), max = ("<<bounding_box.
155155

156156
---
157157

158-
Prev: [vsg::observer_ptr](observer_ptr.md)| Next: [Data Tpes](DataTypes.md)
158+
Prev: [vsg::observer_ptr](observer_ptr.md)| Next: [Data Types](DataTypes.md)

0 commit comments

Comments
 (0)