Home
last modified time | relevance | path

Searched refs:normal_matrix (Results 1 – 25 of 103) sorted by relevance

12345

/dports/math/tblis/tblis-1.2.0/src/matrix/
H A Ddiag_scaled_matrix.hpp12 class diag_scaled_matrix : public normal_matrix<T>
15 using normal_matrix<T>::data_;
16 using normal_matrix<T>::tot_len_;
17 using normal_matrix<T>::cur_len_;
18 using normal_matrix<T>::off_;
19 using normal_matrix<T>::stride_;
29 : normal_matrix<T>(m, n, ptr, rs, cs), in diag_scaled_matrix()
44 normal_matrix<T>::transpose(); in transpose()
48 … void pack(const communicator& comm, const config& cfg, bool trans, normal_matrix<T>& Ap) const in pack()
H A Dnormal_matrix.hpp10 class normal_matrix : public abstract_matrix<T> class
25 normal_matrix() {} in normal_matrix() function in tblis::normal_matrix
27 normal_matrix(len_type m, len_type n, T* ptr, stride_type rs, stride_type cs) in normal_matrix() function in tblis::normal_matrix
59 … void pack(const communicator& comm, const config& cfg, bool trans, normal_matrix<T>& Ap) const in pack()
/dports/cad/uranium/Uranium-3ed9c4de/UM/View/
H A DRenderBatch.py245 normal_matrix = item["normal_transformation"]
246 if mesh.hasNormals() and normal_matrix is None:
247 normal_matrix = Matrix(transformation.getData())
248 normal_matrix.setRow(3, [0, 0, 0, 1])
249 normal_matrix.setColumn(3, [0, 0, 0, 1])
250 normal_matrix.invert()
251 normal_matrix.transpose()
255 normal_matrix = normal_matrix
/dports/math/tblis/tblis-1.2.0/src/internal/3m/
H A Dmult.cxx28 normal_matrix<T> Av(m, k, const_cast<T*>(A), rs_A, cs_A); in mult()
29 normal_matrix<T> Bv(k, n, const_cast<T*>(B), rs_B, cs_B); in mult()
30 normal_matrix<T> Cv(m, n, C , rs_C, cs_C); in mult()
55 normal_matrix<T> Av(m, k, const_cast<T*>(A), rs_A, cs_A); in mult()
58 normal_matrix<T> Cv(m, n, C , rs_C, cs_C); in mult()
/dports/math/tblis/tblis-1.2.0/test/3m/
H A Dgemm_ukr.cxx82 normal_matrix<T> A(m, k, reinterpret_cast<T*>(A_buf), 1, ME); in TEMPLATED_TEST_CASE()
83 normal_matrix<T> B(k, n, reinterpret_cast<T*>(B_buf), NE, 1); in TEMPLATED_TEST_CASE()
84 normal_matrix<T> C(m, n, reinterpret_cast<T*>(C_buf), rs_c, cs_c); in TEMPLATED_TEST_CASE()
85 normal_matrix<T> D(m, n, reinterpret_cast<T*>(D_buf), rs_c, cs_c); in TEMPLATED_TEST_CASE()
/dports/math/tblis/tblis-1.2.0/src/nodes/
H A Dgemm_mkr.hpp23 T alpha, normal_matrix<T>& A, in operator ()()
24 normal_matrix<T>& B, in operator ()()
25 T beta, normal_matrix<T>& C) const in operator ()()
H A Dgemm_ukr.hpp132 T alpha, normal_matrix<T>& A, in operator ()()
133 normal_matrix<T>& B, in operator ()()
134 T beta, normal_matrix<T>& C) const in operator ()()
195 T alpha, normal_matrix<T>& A, in operator ()()
196 normal_matrix<T>& B, in operator ()()
281 T alpha, normal_matrix<T>& A, in operator ()()
282 normal_matrix<T>& B, in operator ()()
/dports/graphics/graphene/graphene-1.10.6/src/
H A Dgraphene-plane.c370 const graphene_matrix_t *normal_matrix, in graphene_plane_transform() argument
392 if (normal_matrix == NULL) in graphene_plane_transform()
398 normal_m = *normal_matrix; in graphene_plane_transform()
/dports/math/geogram/geogram-1.7.7/src/lib/geogram_gfx/GLUP/
H A DGLUP_context_ES.cpp476 float normal_matrix[9]; in copy_uniform_state_to_current_program() local
479 normal_matrix[i*3+j] = in copy_uniform_state_to_current_program()
480 uniform_state_.normal_matrix.get_pointer()[i*4+j]; in copy_uniform_state_to_current_program()
484 glUniformMatrix3fv(loc, 1, GL_FALSE, normal_matrix); in copy_uniform_state_to_current_program()
551 float normal_matrix[9]; in copy_uniform_state_to_current_program() local
554 normal_matrix[i*3+j] = in copy_uniform_state_to_current_program()
555 uniform_state_.normal_matrix.get_pointer()[i*4+j]; in copy_uniform_state_to_current_program()
558 glUniformMatrix3fv(loc, 1, GL_FALSE, normal_matrix); in copy_uniform_state_to_current_program()
/dports/devel/emscripten/emscripten-2.0.3/tests/
H A Dhello_world_gles_deriv.c467 GLfloat normal_matrix[16]; in draw_gear() local
486 memcpy(normal_matrix, model_view, sizeof (normal_matrix)); in draw_gear()
487 invert(normal_matrix); in draw_gear()
488 transpose(normal_matrix); in draw_gear()
489 glUniformMatrix4fv(NormalMatrix_location, 1, GL_FALSE, normal_matrix); in draw_gear()
H A Dhello_world_gles.c473 GLfloat normal_matrix[16]; in draw_gear() local
492 memcpy(normal_matrix, model_view, sizeof (normal_matrix)); in draw_gear()
493 invert(normal_matrix); in draw_gear()
494 transpose(normal_matrix); in draw_gear()
495 glUniformMatrix4fv(NormalMatrix_location, 1, GL_FALSE, normal_matrix); in draw_gear()
H A Dhello_world_gles_full.c473 GLfloat normal_matrix[16]; in draw_gear() local
492 memcpy(normal_matrix, model_view, sizeof (normal_matrix)); in draw_gear()
493 invert(normal_matrix); in draw_gear()
494 transpose(normal_matrix); in draw_gear()
495 glUniformMatrix4fv(NormalMatrix_location, 1, GL_FALSE, normal_matrix); in draw_gear()
H A Dhello_world_gles_full_944.c473 GLfloat normal_matrix[16]; in draw_gear() local
492 memcpy(normal_matrix, model_view, sizeof (normal_matrix)); in draw_gear()
493 invert(normal_matrix); in draw_gear()
494 transpose(normal_matrix); in draw_gear()
495 glUniformMatrix4fv(NormalMatrix_location, 1, GL_FALSE, normal_matrix); in draw_gear()
H A Dhello_world_gles_proxy.c478 GLfloat normal_matrix[16]; in draw_gear() local
497 memcpy(normal_matrix, model_view, sizeof (normal_matrix)); in draw_gear()
498 invert(normal_matrix); in draw_gear()
499 transpose(normal_matrix); in draw_gear()
500 glUniformMatrix4fv(NormalMatrix_location, 1, GL_FALSE, normal_matrix); in draw_gear()
H A Dfull_es2_sdlproc.c463 GLfloat normal_matrix[16]; in draw_gear() local
482 memcpy(normal_matrix, model_view, sizeof (normal_matrix)); in draw_gear()
483 invert(normal_matrix); in draw_gear()
484 transpose(normal_matrix); in draw_gear()
485 glUniformMatrix4fv(NormalMatrix_location, 1, GL_FALSE, normal_matrix); in draw_gear()
/dports/graphics/jogamp-jogl/jogl/src/test-native/mesa-demos-patched/
H A Des2gears.c462 GLfloat normal_matrix[16]; in draw_gear() local
481 memcpy(normal_matrix, model_view, sizeof (normal_matrix)); in draw_gear()
482 invert(normal_matrix); in draw_gear()
483 transpose(normal_matrix); in draw_gear()
484 glUniformMatrix4fv(NormalMatrix_location, 1, GL_FALSE, normal_matrix); in draw_gear()
/dports/graphics/glx-utils/demos-5435fc7fbd332e171da9a71e33a9b190e9462cf0/src/egl/opengles2/
H A Des2gears.c463 GLfloat normal_matrix[16]; in draw_gear() local
482 memcpy(normal_matrix, model_view, sizeof (normal_matrix)); in draw_gear()
483 invert(normal_matrix); in draw_gear()
484 transpose(normal_matrix); in draw_gear()
485 glUniformMatrix4fv(NormalMatrix_location, 1, GL_FALSE, normal_matrix); in draw_gear()
/dports/graphics/mesa-demos/mesa-demos-8.4.0/src/egl/opengles2/
H A Des2gears.c466 GLfloat normal_matrix[16]; in draw_gear() local
485 memcpy(normal_matrix, model_view, sizeof (normal_matrix)); in draw_gear()
486 invert(normal_matrix); in draw_gear()
487 transpose(normal_matrix); in draw_gear()
488 glUniformMatrix4fv(NormalMatrix_location, 1, GL_FALSE, normal_matrix); in draw_gear()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/glmark2/src/src/
H A Dscene-build.cpp237 LibMatrix::mat4 normal_matrix(model_view.getCurrent()); in draw() local
238 normal_matrix.inverse().transpose(); in draw()
239 program_["NormalMatrix"] = normal_matrix; in draw()
H A Dscene-pulsar.cpp215 mat4 normal_matrix(model_view.getCurrent()); in draw() local
216 normal_matrix.inverse().transpose(); in draw()
217 program_["NormalMatrix"] = normal_matrix; in draw()
H A Dscene-terrain.cpp300 LibMatrix::mat4 normal_matrix(model_view_matrix); in setup() local
301 normal_matrix.inverse().transpose(); in setup()
307 priv_->terrain_renderer->program()["normalMatrix"] = normal_matrix; in setup()
/dports/benchmarks/glmark2/glmark2-2021.12/src/
H A Dscene-build.cpp237 LibMatrix::mat4 normal_matrix(model_view.getCurrent()); in draw() local
238 normal_matrix.inverse().transpose(); in draw()
239 program_["NormalMatrix"] = normal_matrix; in draw()
H A Dscene-pulsar.cpp215 mat4 normal_matrix(model_view.getCurrent()); in draw() local
216 normal_matrix.inverse().transpose(); in draw()
217 program_["NormalMatrix"] = normal_matrix; in draw()
/dports/graphics/vkd3d/vkd3d-1.2/demos/
H A Dgears.hlsl4 float3x3 normal_matrix;
39 att = 0.2 + dot(dir, normalize(mul(normal_matrix, normal)));
/dports/graphics/cogl/cogl-1.22.8/examples/
H A Dcogl-gles2-gears.c489 GLfloat normal_matrix[16]; in draw_gear() local
511 memcpy (normal_matrix, model_view, sizeof (normal_matrix)); in draw_gear()
512 invert (normal_matrix); in draw_gear()
513 transpose (normal_matrix); in draw_gear()
514 glUniformMatrix4fv (NormalMatrix_location, 1, GL_FALSE, normal_matrix); in draw_gear()

12345