[Tizen] Use unified way to load vector data from gltf binary 81/302081/1
authorseungho baek <sbsh.baek@samsung.com>
Wed, 17 May 2023 04:11:01 +0000 (13:11 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 30 Nov 2023 02:48:58 +0000 (11:48 +0900)
commitbc402f92217a3edb0846aa857365e40b79612182
tree1eca9d9401f5132b198dd77b872d0e359bf19fe8
parent6a884a50c975474e9ab73f9f1250133611fd54b5
[Tizen] 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