Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
idatg2003-2024-gruppe2
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joachim Duong
idatg2003-2024-gruppe2
Merge requests
!1
Resolve "Create empty constructor for Vector2D"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Create empty constructor for Vector2D"
1-create-empty-constructor-for-vector2d
into
development
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Joachim Duong
requested to merge
1-create-empty-constructor-for-vector2d
into
development
10 months ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Closes
#1
0
0
Merge request reports
Compare
development
development (base)
and
latest version
latest version
317725f6
1 commit,
10 months ago
1 file
+
7
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/main/java/no/ntnu/Vector2D.java
+
7
−
0
Options
@@ -42,6 +42,13 @@ public class Vector2D {
this
.
x1
=
x1
;
}
/**
* Constructs a {@code Vector2D} with all elements set to 0.
*/
public
Vector2D
()
{
this
(
0
,
0
);
}
/**
* @return the first value of the vector at index 0
*/
Loading