---------------------------------- TransformComponentDesc::MakeData Create a transform component from a descriptor
| 131 | // Create a transform component from a descriptor |
| 132 | // |
| 133 | TransformComponent* TransformComponentDesc::MakeData() |
| 134 | { |
| 135 | TransformComponent* const ret = new TransformComponent(); |
| 136 | |
| 137 | ret->SetPosition(position); |
| 138 | ret->SetRotation(rotation); |
| 139 | ret->SetScale(scale); |
| 140 | |
| 141 | return ret; |
| 142 | } |
| 143 | |
| 144 | |
| 145 | } // namespace fw |
nothing calls this directly
no test coverage detected