quick backup of the finished scene loader before I submit other parts
authorEleni Maria Stea <estea@igalia.com>
Tue, 11 Jul 2017 07:20:12 +0000 (10:20 +0300)
committerEleni Maria Stea <estea@igalia.com>
Tue, 11 Jul 2017 07:20:12 +0000 (10:20 +0300)
changes

*Note: I made a change to simplify the recursive create_object function.
Since most nodes contain only one mesh, there's no point to iterate
through meshes, we just choose the first one available.

Also: despite the fact that our 3d model is flat (no node hierarchy) we
calculate its modelling transformation recursively (as a product of its
local transform with the accumulative transformation of its parent
nodes), this way we can safely replace the models anytime.


No differences found