|
|
|
@ -164,8 +164,7 @@ template<UnsignedInt dimensions> typename VectorGL<dimensions>::CompileState Vec |
|
|
|
return CompileState{std::move(out), std::move(vert), std::move(frag), version}; |
|
|
|
return CompileState{std::move(out), std::move(vert), std::move(frag), version}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
template<UnsignedInt dimensions> VectorGL<dimensions>::VectorGL(CompileState&& cs) |
|
|
|
template<UnsignedInt dimensions> VectorGL<dimensions>::VectorGL(CompileState&& cs): VectorGL{static_cast<VectorGL&&>(std::move(cs))} { |
|
|
|
: VectorGL{static_cast<VectorGL&&>(std::move(cs))} { |
|
|
|
|
|
|
|
if (id() == 0) return; |
|
|
|
if (id() == 0) return; |
|
|
|
|
|
|
|
|
|
|
|
CORRADE_INTERNAL_ASSERT_OUTPUT(checkLink()); |
|
|
|
CORRADE_INTERNAL_ASSERT_OUTPUT(checkLink()); |
|
|
|
@ -237,13 +236,12 @@ template<UnsignedInt dimensions> typename VectorGL<dimensions>::CompileState Vec |
|
|
|
return compile(flags, 1, 1); |
|
|
|
return compile(flags, 1, 1); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
template<UnsignedInt dimensions> VectorGL<dimensions>::VectorGL(Flags flags, UnsignedInt materialCount, UnsignedInt drawCount) |
|
|
|
template<UnsignedInt dimensions> VectorGL<dimensions>::VectorGL(Flags flags, UnsignedInt materialCount, UnsignedInt drawCount): |
|
|
|
: VectorGL{compile(flags, materialCount, drawCount)} {} |
|
|
|
VectorGL{compile(flags, materialCount, drawCount)} {} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
template<UnsignedInt dimensions> VectorGL<dimensions>::VectorGL(NoInitT) {} |
|
|
|
template<UnsignedInt dimensions> VectorGL<dimensions>::VectorGL(NoInitT) {} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template<UnsignedInt dimensions> VectorGL<dimensions>& VectorGL<dimensions>::setTransformationProjectionMatrix(const MatrixTypeFor<dimensions, Float>& matrix) { |
|
|
|
template<UnsignedInt dimensions> VectorGL<dimensions>& VectorGL<dimensions>::setTransformationProjectionMatrix(const MatrixTypeFor<dimensions, Float>& matrix) { |
|
|
|
#ifndef MAGNUM_TARGET_GLES2 |
|
|
|
#ifndef MAGNUM_TARGET_GLES2 |
|
|
|
CORRADE_ASSERT(!(_flags >= Flag::UniformBuffers), |
|
|
|
CORRADE_ASSERT(!(_flags >= Flag::UniformBuffers), |
|
|
|
|