G1Projective.fromAffine constructor
G1Projective.fromAffine(
- G1AffinePoint affine
Implementation
factory G1Projective.fromAffine(G1AffinePoint affine) {
return G1Projective(
x: affine.x,
y: affine.y,
z: Bls12Fp.conditionalSelect(
Bls12Fp.one(),
Bls12Fp.zero(),
affine.infinity,
),
);
}