mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-05 02:52:39 +08:00
3cf9aaee4e
* arrange chunks * update compiled shaders * code style
8 lines
252 B
Plaintext
8 lines
252 B
Plaintext
// Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd.
|
|
#include <legacy/decode-base>
|
|
|
|
#pragma define CCDecode(attr) \
|
|
attr.position = vec4(a_position, 1.0); \
|
|
attr.normal = a_normal; \
|
|
attr.tangent = a_tangent
|