There are things that were not covered in the tutorials above but your teaching is very thoughtful and excleent. Plenty of practice. Thank you for this exercise.
I have spent two days trying to figure out how to calculate a 3D vector's length in C# because Google keeps giving me articles that use mathematical symbols I don't understand or that are just mentioning pre-built methods in the System.Numerics namespace. I'm trying to make a Vector3 struct from scratch.
I think it wouldnt work. Vector copyOfV1 = new Vector(v1); He is creating a NEW object, which it name is "copyOfV1" and "vector(v1)" is the object he is copying the value from. in your case Vector copyOfV1 = v1; will make "copyOfV1" a reference of "v1". so if "v1" changes, so does copyOfV1. I think that what i understand from Video #63 but i am not 100% sure.
I didnt watch the entire video but i made this: public static double GetDistance(Vector2 Vec1, Vector2 Vec2) { double distance; distance = (Vec1.X - Vec2.X) * (Vec1.X - Vec2.X) + (Vec1.Y - Vec2.Y) * (Vec1.Y - Vec2.Y); return distance; } It will calculate the distance between a Vector2 to other
Hi guys anyone to help me Perform a program that adds two vectors (magnitude and phase) and stores them in a third vector, Use the next libraries: System; System.Collections.Generic; System.Linq; System.Text;
Thank you for sharing all this knowledge Gordon Freeman.
He does look like he could kill thousands of alien parasites with a crowbar and theoretical physics.
I couldn't acknowledge this name until I googled it......
Amazing. Lots of class concepts are much clearer in my head. Cheers mate.
There are things that were not covered in the tutorials above but your teaching is very thoughtful and excleent. Plenty of practice. Thank you for this exercise.
Alright, this is the cherry on top of all i've learned .. Looking forward for more videos about C# ! Please !
Came to learn vector basics, left a master.
This video was very useful. Thanks for covering this topic, had issues finding an understandable source online since I am pretty new to programming.
I have spent two days trying to figure out how to calculate a 3D vector's length in C# because Google keeps giving me articles that use mathematical symbols I don't understand or that are just mentioning pre-built methods in the System.Numerics namespace. I'm trying to make a Vector3 struct from scratch.
Thank you, it helped me a lot.
Very well done and informative. Thank you.
Soooo much knowlage in one video. thanks a lot!
Great as usual 😊
Take love
Why the vector as class and not as struct? And why not a readonly vectors without setting the values from outside?
nice , perhaps a matrix
When you write Vector copyOfV1 = new Vector(v1);
Couldn't you achieve the same result by saying Vector copyOfV1 = v1; ?
I think it wouldnt work.
Vector copyOfV1 = new Vector(v1);
He is creating a NEW object, which it name is "copyOfV1" and "vector(v1)" is the object he is copying the value from.
in your case Vector copyOfV1 = v1;
will make "copyOfV1" a reference of "v1". so if "v1" changes, so does copyOfV1.
I think that what i understand from Video #63
but i am not 100% sure.
I didnt watch the entire video but i made this:
public static double GetDistance(Vector2 Vec1, Vector2 Vec2)
{
double distance;
distance = (Vec1.X - Vec2.X) * (Vec1.X - Vec2.X) + (Vec1.Y - Vec2.Y) * (Vec1.Y - Vec2.Y);
return distance;
}
It will calculate the distance between a Vector2 to other
Thank you!
The Code link isn't working anymore 😐
Fixed!
@@ParametricCamp Danke
Hi guys anyone to help me
Perform a program that adds two vectors (magnitude and phase) and stores them in a
third vector, Use the next libraries: System; System.Collections.Generic;
System.Linq; System.Text;
defining overload for an overload, too much for me!
"// Method"
Ah yes, the floor here is made of floor.