Use unified way to load vector data from gltf binary 22/292922/8
authorseungho baek <sbsh.baek@samsung.com>
Wed, 17 May 2023 04:11:01 +0000 (13:11 +0900)
committerseungho baek <sbsh.baek@samsung.com>
Thu, 23 Nov 2023 07:54:34 +0000 (16:54 +0900)
commit203bab925f02012cc8fc6fe0fbc32d6b0e79c6c1
treeca908955b22279a32e40d8246a5b880029573c32
parent5a9fae814658b7741015ea08c2cafbae5b6307a9
Use unified way to load vector data from gltf binary

 - In the previous code,
 - 1) there were many duplicated codes to read data from file/buffer.
 - 2) some Methods are too long.
 - This patch reduce duplicated code by using Templete and make LoadRaw method shorten.
 - And uses input data struct to use small number of input parameter

Change-Id: I8f93f4a3d9d5e69d9579603cb855c5375508227d
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
dali-scene3d/public-api/loader/mesh-definition.cpp