mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
8 lines
238 B
Plaintext
8 lines
238 B
Plaintext
// Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd.
|
|
#include <decode-base>
|
|
|
|
#define CCDecode(attr) \
|
|
attr.position = vec4(a_position, 1.0); \
|
|
attr.normal = a_normal; \
|
|
attr.tangent = a_tangent
|