|
|
@@ -223,8 +223,8 @@ void DynamicGeometry::CreateScene()
|
|
|
|
|
|
// Shadowed buffer needed for raycasts to work, and so that data can be automatically restored on device loss
|
|
|
vb->SetShadowed(true);
|
|
|
- // We could use the "legacy" element bitmask for vertex elements for more compact code, but let's demonstrate
|
|
|
- // defining the vertex elements explicitly to allow ant element types and order
|
|
|
+ // We could use the "legacy" element bitmask to define elements for more compact code, but let's demonstrate
|
|
|
+ // defining the vertex elements explicitly to allow any element types and order
|
|
|
PODVector<VertexElement> elements;
|
|
|
elements.Push(VertexElement(TYPE_VECTOR3, SEM_POSITION));
|
|
|
elements.Push(VertexElement(TYPE_VECTOR3, SEM_NORMAL));
|