extend examples
This commit is contained in:
@@ -88,6 +88,7 @@ namespace OpenVulkano
|
||||
label.AddText("Additional text" + std::to_string(j));
|
||||
}
|
||||
}
|
||||
m_drawablesPool[i].SetIsHittable(true);
|
||||
m_scene.GetRoot()->AddChild(&m_nodesPool[i]);
|
||||
m_nodesPool[i].SetMatrix(Math::Utils::translate(glm::mat4x4(1.f), Vector3f(-5 + std::rand() % 5, -5 + std::rand() % 5, -std::rand() % 10)));
|
||||
m_nodesPool[i].AddDrawable(&m_drawablesPool[i]);
|
||||
|
||||
Reference in New Issue
Block a user