Home
last modified time | relevance | path

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

1234

/aosp_15_r20/external/flatbuffers/tests/MyGame/Example/
H A 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()
H A DVec3.go38 type Vec3 struct { struct
39 _tab flatbuffers.Struct
42 func (rcv *Vec3) Init(buf []byte, i flatbuffers.UOffsetT) {
47 func (rcv *Vec3) Table() flatbuffers.Table {
51 func (rcv *Vec3) X() float32 {
54 func (rcv *Vec3) MutateX(n float32) bool {
58 func (rcv *Vec3) Y() float32 {
61 func (rcv *Vec3) MutateY(n float32) bool {
65 func (rcv *Vec3) Z() float32 {
68 func (rcv *Vec3) MutateZ(n float32) bool {
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/
Dvec3.rs13 pub const fn vec3(x: f32, y: f32, z: f32) -> Vec3 { in vec3()
21 pub struct Vec3 { struct
27 impl Vec3 { argument
870 impl Default for Vec3 { implementation
877 impl Div<Vec3> for Vec3 { implementation
889 impl DivAssign<Vec3> for Vec3 { implementation
898 impl Div<f32> for Vec3 { implementation
910 impl DivAssign<f32> for Vec3 { implementation
922 fn div(self, rhs: Vec3) -> Vec3 { in div()
931 impl Mul<Vec3> for Vec3 { implementation
[all …]
Daffine3a.rs147 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
231 pub fn from_scale_rotation_translation(scale: Vec3, rotation: Quat, translation: Vec3) -> Self { in from_scale_rotation_translation()
283 pub fn to_scale_rotation_translation(&self) -> (Vec3, Quat, Vec3) { in to_scale_rotation_translation()
315 pub fn look_to_lh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_lh()
325 pub fn look_to_rh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_rh()
349 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
363 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
370 pub fn transform_point3(&self, rhs: Vec3) -> Vec3 { in transform_point3()
385 pub fn transform_vector3(&self, rhs: Vec3) -> Vec3 { in transform_vector3()
Dmat3.rs12 pub const fn mat3(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Mat3 { in mat3()
82 pub const fn from_cols(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Self { in from_cols()
197 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
371 pub fn col(&self, index: usize) -> Vec3 { in col()
386 pub fn col_mut(&mut self, index: usize) -> &mut Vec3 { in col_mut()
402 pub fn row(&self, index: usize) -> Vec3 { in row()
498 pub fn mul_vec3(&self, rhs: Vec3) -> Vec3 { in mul_vec3()
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/swizzles/sse2/
Dvec4_impl.rs15 type Vec3 = Vec3; typedef
163 fn xxx(self) -> Vec3 { in xxx()
173 fn xxy(self) -> Vec3 { in xxy()
183 fn xxz(self) -> Vec3 { in xxz()
193 fn xxw(self) -> Vec3 { in xxw()
203 fn xyx(self) -> Vec3 { in xyx()
213 fn xyy(self) -> Vec3 { in xyy()
223 fn xyz(self) -> Vec3 { in xyz()
233 fn xyw(self) -> Vec3 { in xyw()
243 fn xzx(self) -> Vec3 { in xzx()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/swizzles/wasm32/
Dvec4_impl.rs12 type Vec3 = Vec3; typedef
160 fn xxx(self) -> Vec3 { in xxx()
170 fn xxy(self) -> Vec3 { in xxy()
180 fn xxz(self) -> Vec3 { in xxz()
190 fn xxw(self) -> Vec3 { in xxw()
200 fn xyx(self) -> Vec3 { in xyx()
210 fn xyy(self) -> Vec3 { in xyy()
220 fn xyz(self) -> Vec3 { in xyz()
230 fn xyw(self) -> Vec3 { in xyw()
240 fn xzx(self) -> Vec3 { in xzx()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/swizzles/scalar/
Dvec4_impl.rs8 type Vec3 = Vec3; typedef
156 fn xxx(self) -> Vec3 { in xxx()
166 fn xxy(self) -> Vec3 { in xxy()
176 fn xxz(self) -> Vec3 { in xxz()
186 fn xxw(self) -> Vec3 { in xxw()
196 fn xyx(self) -> Vec3 { in xyx()
206 fn xyy(self) -> Vec3 { in xyy()
216 fn xyz(self) -> Vec3 { in xyz()
226 fn xyw(self) -> Vec3 { in xyw()
236 fn xzx(self) -> Vec3 { in xzx()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/swizzles/coresimd/
Dvec4_impl.rs12 type Vec3 = Vec3; typedef
160 fn xxx(self) -> Vec3 { in xxx()
170 fn xxy(self) -> Vec3 { in xxy()
180 fn xxz(self) -> Vec3 { in xxz()
190 fn xxw(self) -> Vec3 { in xxw()
200 fn xyx(self) -> Vec3 { in xyx()
210 fn xyy(self) -> Vec3 { in xyy()
220 fn xyz(self) -> Vec3 { in xyz()
230 fn xyw(self) -> Vec3 { in xyw()
240 fn xzx(self) -> Vec3 { in xzx()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/swizzles/
Dvec3_impl.rs5 impl Vec3Swizzles for Vec3 { implementation
93 fn xxx(self) -> Vec3 { in xxx()
103 fn xxy(self) -> Vec3 { in xxy()
113 fn xxz(self) -> Vec3 { in xxz()
123 fn xyx(self) -> Vec3 { in xyx()
133 fn xyy(self) -> Vec3 { in xyy()
143 fn xyz(self) -> Vec3 { in xyz()
153 fn xzx(self) -> Vec3 { in xzx()
163 fn xzy(self) -> Vec3 { in xzy()
173 fn xzz(self) -> Vec3 { in xzz()
[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()
316 type Vec3; typedef
[all …]
Dvec2_impl.rs6 type Vec3 = Vec3; typedef
48 fn xxx(self) -> Vec3 { in xxx()
58 fn xxy(self) -> Vec3 { in xxy()
68 fn xyx(self) -> Vec3 { in xyx()
78 fn xyy(self) -> Vec3 { in xyy()
88 fn yxx(self) -> Vec3 { in yxx()
98 fn yxy(self) -> Vec3 { in yxy()
108 fn yyx(self) -> Vec3 { in yyx()
118 fn yyy(self) -> Vec3 { in yyy()
/aosp_15_r20/external/flatbuffers/samples/rust_generated/my_game/sample/
H A 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 flatbuffers::SafeSliceAccess for Vec3 {} implementation
33 impl<'a> flatbuffers::Follow<'a> for Vec3 { implementation
40 impl<'a> flatbuffers::Follow<'a> for &'a Vec3 { implementation
47 impl<'b> flatbuffers::Push for Vec3 { implementation
52 ::core::slice::from_raw_parts(self as *const Vec3 as *const u8, Self::size()) in push() constant
57 impl<'b> flatbuffers::Push for &'b Vec3 { implementation
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/common/
H A 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() function
105 explicit Vec3(T v) : x(v), y(v), z(v) {} in Vec3() function
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
/aosp_15_r20/external/flatbuffers/tests/monster_test_serialize/my_game/example/
H A 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 flatbuffers::SafeSliceAccess for Vec3 {} implementation
38 impl<'a> flatbuffers::Follow<'a> for Vec3 { implementation
45 impl<'a> flatbuffers::Follow<'a> for &'a Vec3 { implementation
52 impl<'b> flatbuffers::Push for Vec3 { implementation
57 ::core::slice::from_raw_parts(self as *const Vec3 as *const u8, Self::size()) in push() constant
62 impl<'b> flatbuffers::Push for &'b Vec3 { implementation
[all …]
/aosp_15_r20/external/flatbuffers/tests/monster_test/my_game/example/
H A 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 flatbuffers::SafeSliceAccess for Vec3 {} implementation
36 impl<'a> flatbuffers::Follow<'a> for Vec3 { implementation
43 impl<'a> flatbuffers::Follow<'a> for &'a Vec3 { implementation
50 impl<'b> flatbuffers::Push for Vec3 { implementation
55 ::core::slice::from_raw_parts(self as *const Vec3 as *const u8, Self::size()) in push() constant
60 impl<'b> flatbuffers::Push for &'b Vec3 { implementation
[all …]
/aosp_15_r20/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() function
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
/aosp_15_r20/external/rust/android-crates-io/crates/glam/benches/
Dvec3.rs71 fn vec3_normalize(v: Vec3) -> Vec3 { in vec3_normalize()
83 fn vec3_normalize_or_zero(v: Vec3) -> Vec3 { in vec3_normalize_or_zero()
97 fn vec3_any_orthogonal_vector(v: Vec3) -> Vec3 { in vec3_any_orthogonal_vector()
109 fn vec3_any_orthonormal_vector(v: Vec3) -> Vec3 { in vec3_any_orthonormal_vector()
121 fn vec3_any_orthonormal_pair(v: Vec3) -> (Vec3, Vec3) { in vec3_any_orthonormal_pair()
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/scalar/
Dmat4.rs223 pub fn from_scale_rotation_translation(scale: Vec3, rotation: Quat, translation: Vec3) -> Self { in from_scale_rotation_translation()
257 pub fn to_scale_rotation_translation(&self) -> (Vec3, Quat, Vec3) { in to_scale_rotation_translation()
355 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
700 pub fn look_to_lh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_lh()
710 pub fn look_to_rh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_rh()
732 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
745 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
987 pub fn project_point3(&self, rhs: Vec3) -> Vec3 { in project_point3()
1010 pub fn transform_point3(&self, rhs: Vec3) -> Vec3 { in transform_point3()
1031 pub fn transform_vector3(&self, rhs: Vec3) -> Vec3 { in transform_vector3()
Dquat.rs137 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
192 pub(crate) fn from_rotation_axes(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Self { in from_rotation_axes()
289 pub fn from_rotation_arc(from: Vec3, to: Vec3) -> Self { in from_rotation_arc()
323 pub fn from_rotation_arc_colinear(from: Vec3, to: Vec3) -> Self { in from_rotation_arc_colinear()
373 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle()
389 pub fn to_scaled_axis(self) -> Vec3 { in to_scaled_axis()
411 pub fn xyz(self) -> Vec3 { in xyz()
642 pub fn mul_vec3(self, rhs: Vec3) -> Vec3 { in mul_vec3()
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/wasm32/
Dmat4.rs212 pub fn from_scale_rotation_translation(scale: Vec3, rotation: Quat, translation: Vec3) -> Self { in from_scale_rotation_translation()
246 pub fn to_scale_rotation_translation(&self) -> (Vec3, Quat, Vec3) { in to_scale_rotation_translation()
344 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
779 pub fn look_to_lh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_lh()
789 pub fn look_to_rh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_rh()
811 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
824 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
1066 pub fn project_point3(&self, rhs: Vec3) -> Vec3 { in project_point3()
1089 pub fn transform_point3(&self, rhs: Vec3) -> Vec3 { in transform_point3()
1110 pub fn transform_vector3(&self, rhs: Vec3) -> Vec3 { in transform_vector3()
Dquat.rs129 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
184 pub(crate) fn from_rotation_axes(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Self { in from_rotation_axes()
281 pub fn from_rotation_arc(from: Vec3, to: Vec3) -> Self { in from_rotation_arc()
315 pub fn from_rotation_arc_colinear(from: Vec3, to: Vec3) -> Self { in from_rotation_arc_colinear()
365 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle()
381 pub fn to_scaled_axis(self) -> Vec3 { in to_scaled_axis()
403 pub fn xyz(self) -> Vec3 { in xyz()
653 pub fn mul_vec3(self, rhs: Vec3) -> Vec3 { in mul_vec3()
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/coresimd/
Dmat4.rs212 pub fn from_scale_rotation_translation(scale: Vec3, rotation: Quat, translation: Vec3) -> Self { in from_scale_rotation_translation()
246 pub fn to_scale_rotation_translation(&self) -> (Vec3, Quat, Vec3) { in to_scale_rotation_translation()
344 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
779 pub fn look_to_lh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_lh()
789 pub fn look_to_rh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_rh()
811 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
824 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
1066 pub fn project_point3(&self, rhs: Vec3) -> Vec3 { in project_point3()
1089 pub fn transform_point3(&self, rhs: Vec3) -> Vec3 { in transform_point3()
1110 pub fn transform_vector3(&self, rhs: Vec3) -> Vec3 { in transform_vector3()
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/sse2/
Dmat4.rs215 pub fn from_scale_rotation_translation(scale: Vec3, rotation: Quat, translation: Vec3) -> Self { in from_scale_rotation_translation()
249 pub fn to_scale_rotation_translation(&self) -> (Vec3, Quat, Vec3) { in to_scale_rotation_translation()
347 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
788 pub fn look_to_lh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_lh()
798 pub fn look_to_rh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_rh()
820 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
833 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
1075 pub fn project_point3(&self, rhs: Vec3) -> Vec3 { in project_point3()
1098 pub fn transform_point3(&self, rhs: Vec3) -> Vec3 { in transform_point3()
1119 pub fn transform_vector3(&self, rhs: Vec3) -> Vec3 { in transform_vector3()
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/
Dderef.rs12 pub struct Vec3<T> { struct
13 pub x: T,
14 pub y: T,
15 pub z: T,

1234