func Test_Update_RendersAllVisualEntityMeshesWithMaterials(t *testing.T) {
	graphical, renderer, entityDb := getTestGraphical()

	entity := core.NewEntity()
	entity.AddComponent(new(components.Visual))
	entityDb.RegisterEntity(entity)

	graphical.Update(core.NewCamera(), 0)

	assert.NotNil(t, renderer.queueRendered)

	assert.Equal(t, 1, len(renderer.queueRendered.RenderOperations()))

	renderOp := renderer.queueRendered.RenderOperations()[0]

	assert.Equal(t, render.DefaultMesh, renderOp.Mesh)
	assert.Equal(t, render.DefaultMaterial.Name, renderOp.Material.Name)
	assert.Equal(t, math3d.IdentityMatrix(), renderOp.Transform)
}
func Test_Transform_TransformMatrix_DefaultsIdentity(t *testing.T) {
	transform := NewTransform()

	assert.Equal(t, math3d.IdentityMatrix(), transform.TransformMatrix())
}