This commit is contained in:
David Rose 2011-10-11 00:59:38 +00:00
parent 1353827116
commit f77cd81fcd
2 changed files with 2 additions and 2 deletions

View File

@ -2970,7 +2970,7 @@ do_issue_texture() {
texcoord_index | D3DTSS_TCI_CAMERASPACEPOSITION);
texcoord_dimensions = 3;
const TexCoord3 &v = _target_tex_gen->get_constant_value(stage);
const LTexCoord3 &v = _target_tex_gen->get_constant_value(stage);
CPT(TransformState) squash =
TransformState::make_pos_hpr_scale(v, LVecBase3::zero(),
LVecBase3::zero());

View File

@ -3826,7 +3826,7 @@ update_standard_texture_bindings() {
texcoord_index | D3DTSS_TCI_CAMERASPACEPOSITION);
texcoord_dimensions = 3;
const TexCoord3 &v = _target_tex_gen->get_constant_value(stage);
const LTexCoord3 &v = _target_tex_gen->get_constant_value(stage);
CPT(TransformState) squash =
TransformState::make_pos_hpr_scale(v, LVecBase3::zero(),
LVecBase3::zero());