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
{ | |
"configurations": [ | |
{ | |
"name": "Linux", | |
"includePath": [ | |
"${workspaceFolder}/**", | |
"/usr/src/linux-headers-4.15.0-36/include/**", | |
"/usr/src/linux-headers-4.15.0-36/arch/x86/include/**", | |
"/usr/src/linux-headers-4.15.0-36-generic/include/**", | |
"/usr/src/linux-headers-4.15.0-36-generic/arch/x86/include/**" |
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
#define COMPILE_TIME_ASSERT(pred) switch(0){case 0:case pred:;} |
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
//import 'dart:math'; | |
import 'package:vector_math/vector_math.dart'; | |
void main() { | |
var x1 = Vector3(1, 0, 0); | |
var x2 = Vector3(2, 0, 0); | |
//var y = Vector3(0,0,1); | |
var z1 = Vector3(0, 1, 0); | |
var z3 = Vector3(0, 3, 0); | |
var q1 = Quaternion.fromTwoVectors(x1, z1); |
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
import 'dart:math'; | |
import 'package:vector_math/vector_math.dart'; | |
// Here we calculate the angle in Z of the midLine | |
// of a woman standing straight up. | |
void main() { | |
var ls = Vector3( | |
0.5335670709609985, | |
0.3110794723033905, |
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
import 'dart:math'; | |
import 'package:vector_math/vector_math.dart'; | |
// Here we calculate the angle in Z of the midLine | |
// of a woman standing straight up. | |
void main() { | |
var ls = Vector3( | |
0.5335670709609985, | |
0.3110794723033905, |