module charge.math.point
Math

Source file for Point3f.

Code Map

//! Source file for Point3f.
module charge.math.point;


//! Point in 3D space.
struct Point3f
{
public:
	x: f32;
	y: f32;
	z: f32;


public:
	fn ptr() f32* { }
	fn opAdd(vec: Vector3f) Point3f { }
	fn opAddAssign(v: Vector3f) Point3f { }
	fn opSub(p: Point3f) Vector3f { }
	fn opSub(v: Vector3f) Point3f { }
	fn opNeg() Point3f { }
	fn opSubAssign(v: Vector3f) Point3f { }
	fn vec() Vector3f { }
	fn toString() string { }


public:
	static fn opCall() Point3f { }
	static fn opCall(x: f32, y: f32, z: f32) Point3f { }
	static fn opCall(vec: Vector3f) Point3f { }
	static fn opCall(vec: f32[3]) Point3f { }
	static fn opCall(vec: f32[4]) Point3f { }
}
struct Point3f

Point in 3D space.