<commit_before>package com.creativemd.creativecore.common.utils.math.vec;

import javax.vecmath.Vector3d;

import net.minecraft.entity.Entity;

public class ChildVecOrigin extends VecOrigin {
	
	public IVecOrigin parent;
	
	public ChildVecOrigin(IVecOrigin parent, Vector3d center) {
		super(center);
		this.parent = parent;
	}
	
	@Override
	public void transformPointToWorld(Vector3d vec) {
		parent.transformPointToWorld(vec);
		super.transformPointToWorld(vec);
	}
	
	@Override
	public void transformPointToFakeWorld(Vector3d vec) {
		super.transformPointToFakeWorld(vec);
		parent.transformPointToFakeWorld(vec);
	}
	
	@Override
	public void setupRenderingInternal(Entity entity, float partialTicks) {
		parent.setupRenderingInternal(entity, partialTicks);
		super.setupRenderingInternal(entity, partialTicks);
	}
	
}<commit_msg>Fixed incorrect vector calculations<commit_after>package com.creativemd.creativecore.common.utils.math.vec;

import javax.vecmath.Vector3d;

import net.minecraft.entity.Entity;

public class ChildVecOrigin extends VecOrigin {
	
	public IVecOrigin parent;
	
	public ChildVecOrigin(IVecOrigin parent, Vector3d center) {
		super(center);
		this.parent = parent;
	}
	
	@Override
	public void transformPointToWorld(Vector3d vec) {
		super.transformPointToWorld(vec);
		parent.transformPointToWorld(vec);
	}
	
	@Override
	public void transformPointToFakeWorld(Vector3d vec) {
		parent.transformPointToFakeWorld(vec);
		super.transformPointToFakeWorld(vec);
		
	}
	
	@Override
	public void setupRenderingInternal(Entity entity, float partialTicks) {
		parent.setupRenderingInternal(entity, partialTicks);
		super.setupRenderingInternal(entity, partialTicks);
	}
	
}
{'fraction_non_alphanumeric': 0.08633944411590774, 'fraction_numerical': 0.004730928444707274, 'mean_word_length': 5.962962962962963, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5147699', 'n_tokens_mistral': 545, 'n_tokens_neox': 511, 'n_words': 97}