Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
amse
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Matis SPINELLI
amse
Commits
c91e7feb
Commit
c91e7feb
authored
Feb 12, 2024
by
Timothé KOBAK
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avant que je parte
parent
a77608e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
exo2.dart
tp2/lib/exo2.dart
+10
-1
No files found.
tp2/lib/exo2.dart
View file @
c91e7feb
...
...
@@ -32,7 +32,10 @@ class _Exo2 extends State<Exo2> {
child:
LayoutBuilder
(
builder:
(
context
,
constraints
)
{
return
Transform
(
transform:
Matrix4
.
skewY
(
ry
)
alignment:
Alignment
.
center
,
transform:
Matrix4
.
zero
()
..
rotateX
(
rx
)
..
rotateY
(
ry
)
..
rotateZ
(
rz
),
child:
Center
(
child:
Image
.
network
(
'https://picsum.photos/512/1024'
,
width:
constraints
.
maxHeight
,
...
...
@@ -44,6 +47,8 @@ class _Exo2 extends State<Exo2> {
),
),
Slider
(
min:
0
,
max:
2
*
math
.
pi
,
value:
rx
,
label:
rx
.
round
().
toString
(),
onChanged:
(
double
value
)
{
...
...
@@ -53,6 +58,8 @@ class _Exo2 extends State<Exo2> {
},
),
Slider
(
min:
0
,
max:
2
*
math
.
pi
,
value:
ry
,
label:
ry
.
round
().
toString
(),
onChanged:
(
double
value
)
{
...
...
@@ -61,6 +68,8 @@ class _Exo2 extends State<Exo2> {
});
},
),
Slider
(
min:
0
,
max:
2
*
math
.
pi
,
value:
rz
,
label:
rz
.
round
().
toString
(),
onChanged:
(
double
value
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment