Replies: 1 comment 3 replies
-
|
I don't know. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want my code be aligned like this:
Eigen::Matrix4f translate; translate << 1,0,0,-eye_pos[0], 0,1,0,-eye_pos[1], 0,0,1,-eye_pos[2], 0,0,0,1;But I almost have tried all clang-format optins, they all couldn't work as I wanted.
My code will be aligned like this now, with four spaces before all new line:
Eigen::Matrix4f translate; translate << 1, 0, 0, -eye_pos[0], 0, 1, 0, -eye_pos[1], 0, 0, 1, -eye_pos[2], 0, 0, 0, 1;I'm using the latest vscode and cpp extention. Thanks!!!!
Beta Was this translation helpful? Give feedback.
All reactions