Home
last modified time | relevance | path

Searched defs:Vec3 (Results 1 – 25 of 106) sorted by relevance

12345

/external/flatbuffers/tests/MyGame/Example/
DVec3.cs12 public struct Vec3 : IFlatbufferObject struct
31 …public static Offset<MyGame.Example.Vec3> CreateVec3(FlatBufferBuilder builder, float X, float Y, … in CreateVec3()
60 public static Offset<MyGame.Example.Vec3> Pack(FlatBufferBuilder builder, Vec3T _o) { in Pack()
DVec3.go42 type Vec3 struct { struct
43 _tab flatbuffers.Struct
46 func (rcv *Vec3) Init(buf []byte, i flatbuffers.UOffsetT) {
51 func (rcv *Vec3) Table() flatbuffers.Table {
55 func (rcv *Vec3) X() float32 {
58 func (rcv *Vec3) MutateX(n float32) bool {
62 func (rcv *Vec3) Y() float32 {
65 func (rcv *Vec3) MutateY(n float32) bool {
69 func (rcv *Vec3) Z() float32 {
72 func (rcv *Vec3) MutateZ(n float32) bool {
[all …]
/external/rust/android-crates-io/crates/glam/src/f32/
Dvec3.rs12 pub const fn vec3(x: f32, y: f32, z: f32) -> Vec3 { in vec3()
20 pub struct Vec3 { struct
26 impl Vec3 { argument
1086 impl Default for Vec3 { implementation
1093 impl Div<Vec3> for Vec3 { implementation
1105 impl Div<&Vec3> for Vec3 { implementation
1108 fn div(self, rhs: &Vec3) -> Vec3 { in div()
1113 impl Div<&Vec3> for &Vec3 { implementation
1116 fn div(self, rhs: &Vec3) -> Vec3 { in div()
1121 impl Div<Vec3> for &Vec3 { implementation
[all …]
Daffine3a.rs149 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
233 pub fn from_scale_rotation_translation(scale: Vec3, rotation: Quat, translation: Vec3) -> Self { in from_scale_rotation_translation()
285 pub fn to_scale_rotation_translation(&self) -> (Vec3, Quat, Vec3) { in to_scale_rotation_translation()
317 pub fn look_to_lh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_lh()
327 pub fn look_to_rh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_rh()
351 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
365 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
372 pub fn transform_point3(&self, rhs: Vec3) -> Vec3 { in transform_point3()
387 pub fn transform_vector3(&self, rhs: Vec3) -> Vec3 { in transform_vector3()
Dmat3.rs16 pub const fn mat3(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Mat3 { in mat3()
86 pub const fn from_cols(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Self { in from_cols()
235 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
427 pub fn col(&self, index: usize) -> Vec3 { in col()
442 pub fn col_mut(&mut self, index: usize) -> &mut Vec3 { in col_mut()
458 pub fn row(&self, index: usize) -> Vec3 { in row()
560 pub fn look_to_lh(dir: Vec3, up: Vec3) -> Self { in look_to_lh()
573 pub fn look_to_rh(dir: Vec3, up: Vec3) -> Self { in look_to_rh()
597 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
610 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
[all …]
/external/rust/android-crates-io/crates/glam/benches/
Dvec3.rs71 fn vec3_normalize(v: Vec3) -> Vec3 { in vec3_normalize()
83 fn vec3_normalize_or(v: Vec3) -> Vec3 { in vec3_normalize_or()
95 fn vec3_normalize_or_zero(v: Vec3) -> Vec3 { in vec3_normalize_or_zero()
109 fn vec3_any_orthogonal_vector(v: Vec3) -> Vec3 { in vec3_any_orthogonal_vector()
121 fn vec3_any_orthonormal_vector(v: Vec3) -> Vec3 { in vec3_any_orthonormal_vector()
133 fn vec3_any_orthonormal_pair(v: Vec3) -> (Vec3, Vec3) { in vec3_any_orthonormal_pair()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dtypes.h93 struct alignas(sizeof(T)) Vec3 { struct
101 Vec3() : Vec3(T(0.0f)) {} in Vec3() argument
104 constexpr Vec3(S x_, S y_, S z_) : x(x_), y(y_), z(z_) {} in Vec3() argument
105 explicit Vec3(T v) : x(v), y(v), z(v) {} in Vec3() argument
108 explicit Vec3(S v) : x(v), y(v), z(v) {} in Vec3() argument
110 Vec3(const Vec3& f) : x(f.x), y(f.y), z(f.z) {} in Vec3() argument
113 Vec3(const Vec3<S>& f) : x(f.x), y(f.y), z(f.z) {} in Vec3() argument
126 bool operator==(const Vec3& value) const { argument
/external/sdv/vsomeip/third_party/boost/proto/example/
Dvec3.cpp84 struct Vec3 struct
87 explicit Vec3(int i=0, int j=0, int k=0) in Vec3() argument
104 // Here we define a operator = for Vec3 terminals that argument
107 Vec3 &operator =(Expr const & expr) in operator =() argument
118 Vec3 &operator=(Vec3 const &that) in operator =() argument
140 // Count the number of Vec3 terminals using the in count_leaves() argument
/external/rust/android-crates-io/crates/glam/src/swizzles/
Dvec2_impl.rs6 type Vec3 = Vec3; typedef
39 fn xxx(self) -> Vec3 { in xxx()
45 fn xxy(self) -> Vec3 { in xxy()
51 fn xyx(self) -> Vec3 { in xyx()
57 fn xyy(self) -> Vec3 { in xyy()
63 fn yxx(self) -> Vec3 { in yxx()
69 fn yxy(self) -> Vec3 { in yxy()
75 fn yyx(self) -> Vec3 { in yyx()
81 fn yyy(self) -> Vec3 { in yyy()
Dvec3_impl.rs5 impl Vec3Swizzles for Vec3 { implementation
129 fn xxx(self) -> Vec3 { in xxx()
135 fn xxy(self) -> Vec3 { in xxy()
141 fn xxz(self) -> Vec3 { in xxz()
147 fn xyx(self) -> Vec3 { in xyx()
153 fn xyy(self) -> Vec3 { in xyy()
159 fn xzx(self) -> Vec3 { in xzx()
165 fn xzy(self) -> Vec3 { in xzy()
171 fn xzz(self) -> Vec3 { in xzz()
177 fn yxx(self) -> Vec3 { in yxx()
[all …]
Dvec_traits.rs4 type Vec3; typedef
20 fn xxx(self) -> Self::Vec3; in xxx()
22 fn xxy(self) -> Self::Vec3; in xxy()
24 fn xyx(self) -> Self::Vec3; in xyx()
26 fn xyy(self) -> Self::Vec3; in xyy()
28 fn yxx(self) -> Self::Vec3; in yxx()
30 fn yxy(self) -> Self::Vec3; in yxy()
32 fn yyx(self) -> Self::Vec3; in yyx()
34 fn yyy(self) -> Self::Vec3; in yyy()
328 type Vec3; typedef
[all …]
/external/flatbuffers/samples/rust_generated/my_game/sample/
Dvec_3_generated.rs15 pub struct Vec3(pub [u8; 12]); struct
16 impl Default for Vec3 { implementation
21 impl core::fmt::Debug for Vec3 { implementation
31 impl flatbuffers::SimpleToVerifyInSlice for Vec3 {} implementation
32 impl<'a> flatbuffers::Follow<'a> for Vec3 { implementation
39 impl<'a> flatbuffers::Follow<'a> for &'a Vec3 { implementation
46 impl<'b> flatbuffers::Push for Vec3 { implementation
50 …let src = ::core::slice::from_raw_parts(self as *const Vec3 as *const u8, <Self as flatbuffers::Pu… in push() constant
59 impl<'a> flatbuffers::Verifiable for Vec3 { implementation
69 impl<'a> Vec3 { implementation
[all …]
/external/rust/android-crates-io/crates/glam/src/swizzles/scalar/
Dvec4_impl.rs8 type Vec3 = Vec3; typedef
228 fn xxx(self) -> Vec3 { in xxx()
234 fn xxy(self) -> Vec3 { in xxy()
240 fn xxz(self) -> Vec3 { in xxz()
246 fn xxw(self) -> Vec3 { in xxw()
252 fn xyx(self) -> Vec3 { in xyx()
258 fn xyy(self) -> Vec3 { in xyy()
264 fn xyz(self) -> Vec3 { in xyz()
276 fn xyw(self) -> Vec3 { in xyw()
288 fn xzx(self) -> Vec3 { in xzx()
[all …]
/external/rust/android-crates-io/crates/glam/src/swizzles/coresimd/
Dvec4_impl.rs12 type Vec3 = Vec3; typedef
232 fn xxx(self) -> Vec3 { in xxx()
238 fn xxy(self) -> Vec3 { in xxy()
244 fn xxz(self) -> Vec3 { in xxz()
250 fn xxw(self) -> Vec3 { in xxw()
256 fn xyx(self) -> Vec3 { in xyx()
262 fn xyy(self) -> Vec3 { in xyy()
268 fn xyz(self) -> Vec3 { in xyz()
280 fn xyw(self) -> Vec3 { in xyw()
292 fn xzx(self) -> Vec3 { in xzx()
[all …]
/external/rust/android-crates-io/crates/glam/src/swizzles/neon/
Dvec4_impl.rs8 type Vec3 = Vec3; typedef
228 fn xxx(self) -> Vec3 { in xxx()
234 fn xxy(self) -> Vec3 { in xxy()
240 fn xxz(self) -> Vec3 { in xxz()
246 fn xxw(self) -> Vec3 { in xxw()
252 fn xyx(self) -> Vec3 { in xyx()
258 fn xyy(self) -> Vec3 { in xyy()
264 fn xyz(self) -> Vec3 { in xyz()
276 fn xyw(self) -> Vec3 { in xyw()
288 fn xzx(self) -> Vec3 { in xzx()
[all …]
/external/rust/android-crates-io/crates/glam/src/swizzles/wasm32/
Dvec4_impl.rs12 type Vec3 = Vec3; typedef
232 fn xxx(self) -> Vec3 { in xxx()
238 fn xxy(self) -> Vec3 { in xxy()
244 fn xxz(self) -> Vec3 { in xxz()
250 fn xxw(self) -> Vec3 { in xxw()
256 fn xyx(self) -> Vec3 { in xyx()
262 fn xyy(self) -> Vec3 { in xyy()
268 fn xyz(self) -> Vec3 { in xyz()
280 fn xyw(self) -> Vec3 { in xyw()
292 fn xzx(self) -> Vec3 { in xzx()
[all …]
/external/rust/android-crates-io/crates/glam/src/swizzles/sse2/
Dvec4_impl.rs15 type Vec3 = Vec3; typedef
235 fn xxx(self) -> Vec3 { in xxx()
241 fn xxy(self) -> Vec3 { in xxy()
247 fn xxz(self) -> Vec3 { in xxz()
253 fn xxw(self) -> Vec3 { in xxw()
259 fn xyx(self) -> Vec3 { in xyx()
265 fn xyy(self) -> Vec3 { in xyy()
271 fn xyz(self) -> Vec3 { in xyz()
283 fn xyw(self) -> Vec3 { in xyw()
295 fn xzx(self) -> Vec3 { in xzx()
[all …]
/external/flatbuffers/tests/monster_test_serialize/my_game/example/
Dvec_3_generated.rs17 pub struct Vec3(pub [u8; 32]); struct
18 impl Default for Vec3 { implementation
23 impl core::fmt::Debug for Vec3 { implementation
36 impl flatbuffers::SimpleToVerifyInSlice for Vec3 {} implementation
37 impl<'a> flatbuffers::Follow<'a> for Vec3 { implementation
44 impl<'a> flatbuffers::Follow<'a> for &'a Vec3 { implementation
51 impl<'b> flatbuffers::Push for Vec3 { implementation
55 …let src = ::core::slice::from_raw_parts(self as *const Vec3 as *const u8, <Self as flatbuffers::Pu… in push() constant
64 impl<'a> flatbuffers::Verifiable for Vec3 { implementation
74 impl Serialize for Vec3 { implementation
[all …]
/external/flatbuffers/tests/monster_test/my_game/example/
Dvec_3_generated.rs15 pub struct Vec3(pub [u8; 32]); struct
16 impl Default for Vec3 { implementation
21 impl core::fmt::Debug for Vec3 { implementation
34 impl flatbuffers::SimpleToVerifyInSlice for Vec3 {} implementation
35 impl<'a> flatbuffers::Follow<'a> for Vec3 { implementation
42 impl<'a> flatbuffers::Follow<'a> for &'a Vec3 { implementation
49 impl<'b> flatbuffers::Push for Vec3 { implementation
53 …let src = ::core::slice::from_raw_parts(self as *const Vec3 as *const u8, <Self as flatbuffers::Pu… in push() constant
62 impl<'a> flatbuffers::Verifiable for Vec3 { implementation
72 impl<'a> Vec3 { impl
[all …]
/external/rust/android-crates-io/crates/glam/src/
Dderef.rs4 pub struct Vec3<T> { struct
5 pub x: T,
6 pub y: T,
7 pub z: T,
/external/rust/android-crates-io/crates/glam/src/f32/scalar/
Dquat.rs136 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
198 pub(crate) fn from_rotation_axes(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Self { in from_rotation_axes()
318 pub fn from_rotation_arc(from: Vec3, to: Vec3) -> Self { in from_rotation_arc()
352 pub fn from_rotation_arc_colinear(from: Vec3, to: Vec3) -> Self { in from_rotation_arc_colinear()
408 pub fn look_to_lh(dir: Vec3, up: Vec3) -> Self { in look_to_lh()
421 pub fn look_to_rh(dir: Vec3, up: Vec3) -> Self { in look_to_rh()
445 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
458 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
465 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle()
481 pub fn to_scaled_axis(self) -> Vec3 { in to_scaled_axis()
[all …]
/external/rust/android-crates-io/crates/glam/src/f32/coresimd/
Dquat.rs128 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
190 pub(crate) fn from_rotation_axes(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Self { in from_rotation_axes()
310 pub fn from_rotation_arc(from: Vec3, to: Vec3) -> Self { in from_rotation_arc()
344 pub fn from_rotation_arc_colinear(from: Vec3, to: Vec3) -> Self { in from_rotation_arc_colinear()
400 pub fn look_to_lh(dir: Vec3, up: Vec3) -> Self { in look_to_lh()
413 pub fn look_to_rh(dir: Vec3, up: Vec3) -> Self { in look_to_rh()
437 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
450 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
457 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle()
473 pub fn to_scaled_axis(self) -> Vec3 { in to_scaled_axis()
[all …]
/external/rust/android-crates-io/crates/glam/src/f32/wasm32/
Dquat.rs128 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
190 pub(crate) fn from_rotation_axes(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Self { in from_rotation_axes()
310 pub fn from_rotation_arc(from: Vec3, to: Vec3) -> Self { in from_rotation_arc()
344 pub fn from_rotation_arc_colinear(from: Vec3, to: Vec3) -> Self { in from_rotation_arc_colinear()
400 pub fn look_to_lh(dir: Vec3, up: Vec3) -> Self { in look_to_lh()
413 pub fn look_to_rh(dir: Vec3, up: Vec3) -> Self { in look_to_rh()
437 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
450 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
457 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle()
473 pub fn to_scaled_axis(self) -> Vec3 { in to_scaled_axis()
[all …]
/external/rust/android-crates-io/crates/glam/src/f32/neon/
Dquat.rs133 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
195 pub(crate) fn from_rotation_axes(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Self { in from_rotation_axes()
315 pub fn from_rotation_arc(from: Vec3, to: Vec3) -> Self { in from_rotation_arc()
349 pub fn from_rotation_arc_colinear(from: Vec3, to: Vec3) -> Self { in from_rotation_arc_colinear()
405 pub fn look_to_lh(dir: Vec3, up: Vec3) -> Self { in look_to_lh()
418 pub fn look_to_rh(dir: Vec3, up: Vec3) -> Self { in look_to_rh()
442 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
455 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
462 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle()
478 pub fn to_scaled_axis(self) -> Vec3 { in to_scaled_axis()
[all …]
/external/rust/android-crates-io/crates/glam/src/f32/sse2/
Dquat.rs136 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
198 pub(crate) fn from_rotation_axes(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Self { in from_rotation_axes()
318 pub fn from_rotation_arc(from: Vec3, to: Vec3) -> Self { in from_rotation_arc()
352 pub fn from_rotation_arc_colinear(from: Vec3, to: Vec3) -> Self { in from_rotation_arc_colinear()
408 pub fn look_to_lh(dir: Vec3, up: Vec3) -> Self { in look_to_lh()
421 pub fn look_to_rh(dir: Vec3, up: Vec3) -> Self { in look_to_rh()
445 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
458 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
465 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle()
481 pub fn to_scaled_axis(self) -> Vec3 { in to_scaled_axis()
[all …]

12345