This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[src/handlers/pipelines.rs:127] thread::current().id().as_u64() = 8 | |
[src/handlers/pipelines.rs:135] | |
[src/handlers/pipelines.rs:126] unsafe { | |
dbg!(thread :: current().id().as_u64()); | |
super::DEVICE.read().unwrap().get(&device).unwrap().device.create_compute_pipelines(pipeline_cache, | |
create_infos, { dbg!(); p_allocator.as_ref() }) | |
} = Ok( | |
[ | |
0x7fd9ec000c80, | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Edit: Now show the change in direction. | |
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp | |
index 5d02764..3fb4652 100644 | |
--- a/src/train_cmd.cpp | |
+++ b/src/train_cmd.cpp | |
@@ -3087,6 +3087,8 @@ bool TrainController(Train *v, Vehicle *nomove, bool reverse) | |
Train *prev; | |
bool direction_changed = false; // has direction of any part changed? | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Demo.hpp> | |
struct Class::Item | |
{ | |
int a; | |
}; | |
Class::Class() : m_item(new Class::Item()){}; | |
/* _new_: | |
* a value of type "Class::Item *" cannot be used to initialize an entity of type "std::unique_ptr<Class::Item, std::default_delete<Class::Item>> *" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* @brief translate existing transform matrix by v vector | |
* and stores result in same matrix | |
* | |
* @param[in, out] m affine transfrom | |
* @param[in] v translate vector [x, y, z] | |
*/ | |
CGLM_INLINE | |
void | |
glm_translate(mat4 m, vec3 v) { |