Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
static public float[] add(float[] v1, float[] v2) { float[] result = new float[3]; result[0] = v1[0]+v2[0]; result[1] = v1[1]+v2[1]; result[2] = v1[2]+v2[2]; return result; } static public float[] scale(float[] v1, float s) { float[] v = new float[3]; v[0] = v1[0] * s; v[1] = v1[1] * s; v[2] = v1[2] * s; return v; } static public float[] normalize(float[] v1) { float length = length(v1); float[] v = new float[3]; if (length != 0) { v[0] = v1[0] / length; v[1] = v1[1] / length; v[2] = v1[2] / length; } return v; } static public float dot_product(float[] v, float[] w) { float result; result = v[0]*w[0]+v[1]*w[1]+v[2]*w[2]; return result; } static public float[] reflect(float[] v1, float[] v2) { float l = length(v1); float dot; float[] result = new float[3]; v1 = normalize(v1); v2 = normalize(v2); dot = 2*dot_product(inverse(v1),v2); v2 = scale(v2,dot); result = add(v1,v2); result = scale(result,l); return result; }