m_pClient->m_Camera.m_Zoom
then the server can get the exact position by itselfirdl.dialect @cmath {
irdl.type @complex {
%0 = irdl.is_type : f32
%1 = irdl.is_type : f64
%2 = irdl.any_of(%0, %1)
irdl.parameters(%2)
}
irdl.operation @mul {
%0 = irdl.is_type : f32
%1 = irdl.is_type : f64
%2 = irdl.any_of(%0, %1)
%3 = irdl.parametric_type : "cmath.complex"<%2>
irdl.operands(%3, %3)
irdl.results(%3)
}
}
// A constant polynomial in a ring with i32 coefficients and no polynomial modulus
#ring = #polynomial.ring<coefficientType=i32>
%a = polynomial.constant <1 + x**2 - 3x**3> : polynomial.polynomial<#ring>
// A constant polynomial in a ring with i32 coefficients, modulo (x^1024 + 1)
#modulus = #polynomial.int_polynomial<1 + x**1024>
#ring = #polynomial.ring<coefficientType=i32, polynomialModulus=#modulus>
%a = polynomial.constant <1 + x**2 - 3x**3> : polynomial.polynomial<#ring>
// A constant polynomial in a ring with i32 coefficients, with a polynomial
// modulus of (x^1024 + 1) and a coefficient modulus of 17.
#modulus = #polynomial.int_polynomial<1 + x**1024>
#ring = #polynomial.ring<coefficientType=i32, coefficientModulus=17:i32, polynomialModulus=#modulus>
%a = polynomial.constant <1 + x**2 - 3x**3> : polynomial.polynomial<#ring>
std::function
use in #8395 they really don't optimize out very well usually and this is in the hot path, have you checked that this gets inlined properly? Perhaps a template ConsumeEvents
would be more appropriate?std::function
use in #8395 they really don't optimize out very well usually and this is in the hot path, have you checked that this gets inlined properly? Perhaps a template ConsumeEvents
would be more appropriate? std::function
nowadays.demo
extension is supposed to be removed from the target filename when slicing demos, but anything after the last dot was being removed instead, e.g. test.abc.def
was incorrectly replaced with test.abc
.
CUi::OnCursorMove
function. The editor separately updates its world positions and delta after the mouse position was changed. The mouse world position for the editor is passed to the UI with the CUi::Update
funtion as before, whereas the world position is unused in the gameclient.
Use vec2
s for mouse posi...