Sdk/GraphicsComponent: Allows to setup an offset to renderables

Former-commit-id: fd1f70010f950dd4a4194e049ddff317c0d8b4b9 [formerly 8fee96f11b7bef08351110bef74643fa0be8b17d] [formerly ec5d6ad819cf325dac0ae61d983003cf99c78aac [formerly 2610a17ba67d61080254ce4bc3e9176e315dfbe5]]
Former-commit-id: 7683be7fa9a565dc3fb59be401ecff5580a6de15 [formerly 80ac7628f5119f58cf4518b5b1a44aff5b6d6b20]
Former-commit-id: d1604af612715688e7b1fc451d8561f79e100541
This commit is contained in:
Lynix
2016-09-04 20:02:23 +02:00
parent c5ece59597
commit f2aa4e0e19
12 changed files with 34 additions and 19 deletions

View File

@@ -30,7 +30,7 @@ namespace Nz
if (!m_material)
return;
Nz::Vector3f position = instanceData.transformMatrix->GetTranslation();
Nz::Vector3f position = instanceData.transformMatrix.GetTranslation();
renderQueue->AddBillboards(instanceData.renderOrder, m_material, 1, &position, &m_size, &m_sinCos, &m_color);
}