Skip to content

Instantly share code, notes, and snippets.

@gyuque
Created June 10, 2012 17:44
Show Gist options
  • Save gyuque/2906739 to your computer and use it in GitHub Desktop.
Save gyuque/2906739 to your computer and use it in GitHub Desktop.
// results from D3DXSHEvalDirection
var DirectXTestData1 = {
theta: 1.570795,
phi: 0.785398,
shvals: [
0.282095, -0.345494,
0.000001, -0.345494,
0.546274, -0.000001,
-0.315392, -0.000001,
0.000001, -0.417225,
0.000002, 0.323180,
-0.000001, 0.323180,
0.000000, 0.417223,
0.000002, -0.000002,
-0.473087, 0.000002,
0.317357, 0.000002,
-0.000001, 0.000002,
-0.625836]
};
var DirectXTestData2 = {
theta: 0.785398,
phi: 2.356193,
shvals: [
0.282095, -0.244302,
0.345494, 0.244301,
-0.273137, -0.386275,
0.157696, 0.386274,
-0.000001, -0.147510,
-0.510992, -0.342786,
-0.131937, 0.342784,
-0.000002, -0.147511,
0.000001, -0.312916,
-0.591360, -0.118273,
-0.343803, 0.118273,
-0.000002, -0.312919,
-0.156459]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment