Let l1 and l2 be two lines such that their parametric vector equations are
l1 = a1 + t1*b1
l2 = a2 + t2*b2
where
Here, performing a shear uses the concept of a change of basis. See Change of basis for further information.
Here, rotating around a line uses the concept of a change of basis. See Change of basis for further information.
The steps to perform a rotation around a line through the origin are
Here, reflecting in a plane uses the concept of a change of basis. See Change of basis for further information.
The steps to perform a reflection in a plane through the origin are
The distortion affects relative vectors calculated in NDC (OpenGL Normalised Device Coordinates) space at the point at which they are mapped to a rectangular (i.e. non-square) screen.
Let the metric used to measure distance be the proportion of the height of the (NDC cube)/screen. Let's say we wish to calculate a position Q in NDC which is a desired distance from P on the screen.
This SSH method assumes your SSH keys are already set up on Gitlab and your local system. The SSH method is preferable as it doesn't require a username and password like the HTTPS method.
In the commands below replace fospathi
and nonexistent-project
with your username and project name respectively. Execute these commands in the project's top-level directory which usually contains the project's .git
directory and other language specific things like a go.mod
file for Go modules.
Directly push the repo to GitLab to create the new project (some times this step takes multiple attempts before success):
Or, more precisely, why are two separate but otherwise seemingly identical errors created by Go's errors.New
function not equal according to the ==
operator?
Consider the output of the following small program (Go Playground link) which compares Go's error values for equality:
package main
An expression for the launch angle of a parabolic projectile which coincides with a target position vector (x, y) at some | |
point in its trajectory. | |
The parametric coordinates of a parabolic projectile launched from the origin are | |
x = uct | |
y = ust + at² / 2 | |
where |
An expression for the sin curve's principal unit normal vector. | |
The principal unit normal vector is different from a unit normal vector in that it always points from a point on the curve | |
towards the centre of the circle that most closely approximates the curvature of the curve at that point. Thus, the principal | |
unit normal vector is undefined at inflection points since the radius of the circle is infinite at these points. | |
Consider the parametric form of a sin curve. Let R be a general position vector on a sin curve and let | |
c = cos(t) | |
s = sin(t) |