mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-10-02 07:42:25 -05:00
Merge pull request #1409 from ousttrue/fix10/fix_shared_accessor_convert_twice
同一のバイト列を参照するBufferAccessor が複数回、座標変換(右手・左手変換)されるのを回避する
This commit is contained in:
18
Assets/VRMShaders/GLTF/IO/Runtime/Util/Symbols.cs
Normal file
18
Assets/VRMShaders/GLTF/IO/Runtime/Util/Symbols.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace VRMShaders
|
||||
{
|
||||
public static class Symbols
|
||||
{
|
||||
/// <summary>
|
||||
/// #if 文を局所化する。
|
||||
/// VRMShaders が最下層になるため、ここに配置している
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public const bool VRM_DEVELOP =
|
||||
#if VRM_DEVELOP
|
||||
true
|
||||
#else
|
||||
false
|
||||
#endif
|
||||
;
|
||||
}
|
||||
}
|
||||
11
Assets/VRMShaders/GLTF/IO/Runtime/Util/Symbols.cs.meta
Normal file
11
Assets/VRMShaders/GLTF/IO/Runtime/Util/Symbols.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ffb4175afef01ea48ad7669a8b12d93f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user