mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-04 15:18:17 +00:00

> Make the root of the workspace a virtual manifest. It might > be tempting to put the main crate into the root, but that > pollutes the root with src/, requires passing --workspace to > every Cargo command, and adds an exception to an otherwise > consistent structure. > Don’t succumb to the temptation to strip common prefix > from folder names. If each crate is named exactly as the > folder it lives in, navigation and renames become easier. > Cargo.tomls of reverse dependencies mention both the folder > and the crate name, it’s useful when they are exactly the > same. Source: https://matklad.github.io/2021/08/22/large-rust-workspaces.html#Smaller-Tips
10 lines
No EOL
197 B
GLSL
10 lines
No EOL
197 B
GLSL
precision mediump float;
|
|
|
|
attribute vec2 a_position;
|
|
attribute vec2 a_tex_coord;
|
|
varying vec2 v_texCoord;
|
|
|
|
void main(){
|
|
v_texCoord = a_tex_coord;
|
|
gl_Position = vec4(a_position, 0.0, 1.0);
|
|
} |