| 59 | } |
| 60 | |
| 61 | void obj3d_setData(SecObject* obj, JediModel* pod) |
| 62 | { |
| 63 | obj->model = pod; |
| 64 | obj->type = OBJ_TYPE_3D; |
| 65 | obj->flags |= OBJ_FLAG_NEEDS_TRANSFORM; |
| 66 | if (obj->worldWidth == -1) // the initial value. |
| 67 | { |
| 68 | obj->worldWidth = 0; |
| 69 | } |
| 70 | if (obj->worldHeight == -1) |
| 71 | { |
| 72 | obj->worldHeight = 0; |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | void obj3d_computeTransform(SecObject* obj) |
| 77 | { |
no outgoing calls
no test coverage detected